vendor/engines/adva_user/app/controllers/password_controller.rb
# return a link that will allow a user to reset their password
return a link that will allow a user to reset their password
return a link that will allow a user to reset their password
def reset_link(user)
      token = user.assign_token 'password'
      user.save!
      token = "#{user.id};#{token}"
      reset_link = url_for :action => 'edit', :token => token
    end
def reset_link ( user ) token = user . assign_token 'password' user . save! token = "#{user.id};#{token}" reset_link = url_for :action => 'edit' , :token => token end
return a link that will allow a user to reset their password
return a link that will allow a user to reset their password
user