Merge pull request #1915 from tsigo/issue/1912

Fix rendered action for password change failure
This commit is contained in:
Valeriy Sizov 2012-11-05 01:29:03 -08:00
commit 4f04d7df66
3 changed files with 16 additions and 1 deletions

View file

@ -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