summaryrefslogtreecommitdiff
path: root/app/controllers/profile_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/profile_controller.rb')
-rw-r--r--app/controllers/profile_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/profile_controller.rb b/app/controllers/profile_controller.rb
index c8477729a92..a0078f0e0a3 100644
--- a/app/controllers/profile_controller.rb
+++ b/app/controllers/profile_controller.rb
@@ -14,7 +14,7 @@ class ProfileController < ApplicationController
end
def password_update
- params[:user].reject!{ |k, v| k != "password" && k != "password_confirmation"}
+ params[:user].reject!{ |k, v| k != "password" && k != "password_confirmation"}
@user = current_user
if @user.update_attributes(params[:user])