Merge pull request #1915 from tsigo/issue/1912
Fix rendered action for password change failure
This commit is contained in:
commit
4f04d7df66
3 changed files with 16 additions and 1 deletions
|
@ -22,7 +22,7 @@ class ProfileController < ApplicationController
|
|||
flash[:notice] = "Password was successfully updated. Please login with it"
|
||||
redirect_to new_user_session_path
|
||||
else
|
||||
render action: "password"
|
||||
render 'account'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue