Commit 4b26ed8a authored by James Lopez's avatar James Lopez

fix update service

parent 6d272675
...@@ -5,7 +5,7 @@ module Users ...@@ -5,7 +5,7 @@ module Users
def initialize(current_user, params = {}) def initialize(current_user, params = {})
@current_user = current_user @current_user = current_user
@user = params[:user] @user = params.delete(:user)
@params = params.dup @params = params.dup
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment