]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/user_roles_controller.rb
Set method and action on the search box to something that works so that
[rails.git] / app / controllers / user_roles_controller.rb
index 51106866efed9dc65785375027aa3b269353e068..ee4de7ce092e1ff954bc7d937f80bf4318d48dfd 100644 (file)
@@ -73,7 +73,7 @@ class UserRolesController < ApplicationController
   end
 
   ##
-  # checks that the user doesn't already have this role
+  # checks that the user already has this role
   def in_role
     unless @this_user.has_role? @role
       flash[:notice] = t('user_role.filter.doesnt_have_role', :role => @role)