]> git.openstreetmap.org Git - rails.git/commitdiff
Correct comment.
authorTom Hughes <tom@compton.nu>
Thu, 1 Oct 2009 20:22:52 +0000 (20:22 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 1 Oct 2009 20:22:52 +0000 (20:22 +0000)
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)