Displaying 1 result from an estimated 1 matches for "settings_path".
2010 Aug 09
0
Devise :current_password validations and checking (how???)
...=> true
%div
= f.label :password
= f.password_field :password
%div
= f.label :password_confirmation
= f.password_field :password_confirmation
.action
= f.submit "Change password"
or
= link_to "Cancel", settings_path
***************************************************************
"SettingsController" goes like this below using change_password method
***************************************************************
def change_password
if params[:user]
begin
current_user.update_attribu...