Fix rendered action for password change failure

Closes #1912
This commit is contained in:
Robert Speicher 2012-11-04 16:47:37 -05:00
parent f8e27b92bf
commit 89d9319a79
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