resend confirm instructions via devise

Posted by Paul 'Whippet' McGuane on Stack Overflow See other posts from Stack Overflow or by Paul 'Whippet' McGuane
Published on 2012-10-27T22:58:37Z Indexed on 2012/10/27 23:00 UTC
Read the original article Hit count: 176

what im trying to achieve is that when an admin views a list of members, they can click a link to resend the instructions on how to confirm that members accounts.

this is the code im using to try and achieve this

= link_to 'Resend Confirmation', confirmation_path(:user => {:email => user.email}), :remote => :true

im hoping that this would allow me to pass the users email through to the link have it then sent to that user

though the issue im getting is Could not find a valid mapping for {:user=>{:email=>"[email protected]"}}

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about devise