diff options
| author | mo khan <mo@mokhan.ca> | 2014-09-17 19:51:27 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-09-17 19:51:27 -0600 |
| commit | 63f4f0341b3741a408be057d69957dde3ef4cc73 (patch) | |
| tree | e94bd10705c5d7997ff8adea6279117b3242e11e /app/controllers/my | |
| parent | ced3ca5ecb44e0c01527af2dbb4904c01bfb49d1 (diff) | |
get controller specs passing.
Diffstat (limited to 'app/controllers/my')
| -rw-r--r-- | app/controllers/my/settings_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/my/settings_controller.rb b/app/controllers/my/settings_controller.rb index 013b66c6..7f6308ce 100644 --- a/app/controllers/my/settings_controller.rb +++ b/app/controllers/my/settings_controller.rb @@ -7,7 +7,7 @@ module My def update @user = current_user @user.interest_ids = params[:user][:interest_ids] ||= [] - if @user.update_without_password(user_params) + if @user.update(user_params) redirect_to my_settings_path, :notice => t(:profile_saved) else render :index |
