]> git.openstreetmap.org Git - rails.git/commitdiff
Fix typo
authorTom Hughes <tom@compton.nu>
Thu, 8 Mar 2012 23:17:38 +0000 (23:17 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 8 Mar 2012 23:17:38 +0000 (23:17 +0000)
app/controllers/user_controller.rb

index b56b58433c9a8ba870a6ed800a9758a596457c08..375ac81318b809df488c7d6869f97d65e3408481 100644 (file)
@@ -473,7 +473,7 @@ class UserController < ApplicationController
   ##
   # sets a user's status
   def set_status
-    @this_user.status => params[:status]
+    @this_user.status = params[:status]
     redirect_to :controller => 'user', :action => 'view', :display_name => params[:display_name]
   end