Override PasswordsController in Devise to change password when the user is
already signed in
I want to add a feature to my app in which when a user is signed in he can
change his password just by clicking on change password link.But when I
click on that link it redirects to the current page.
<%= link_to 'Change password', edit_user_password_path %>
Can someone tell me what to do to solve this problem?
No comments:
Post a Comment