summaryrefslogtreecommitdiff
path: root/users/app/controllers/v1/users_controller.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-07-04 02:44:11 -0700
committerelijah <elijah@riseup.net>2013-07-04 04:15:04 -0700
commit64bacc45ea1a023b154b07ec0790f762a79d20d5 (patch)
tree701cb9008508d869c5b40096850656662d9b190c /users/app/controllers/v1/users_controller.rb
parent290d367ddb064c0aea4e0447441776fd69e29f6c (diff)
user tests -- user update has been moved entirely to api controller, so fix tests to reflect this.
Diffstat (limited to 'users/app/controllers/v1/users_controller.rb')
-rw-r--r--users/app/controllers/v1/users_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/users/app/controllers/v1/users_controller.rb b/users/app/controllers/v1/users_controller.rb
index e117fc7..fda56f2 100644
--- a/users/app/controllers/v1/users_controller.rb
+++ b/users/app/controllers/v1/users_controller.rb
@@ -23,7 +23,6 @@ module V1
end
def update
- @user = User.find_by_param(params[:id])
@user.update_attributes params[:user]
if @user.valid?
flash[:notice] = t(:user_updated_successfully)