projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dbf68a
)
Correct comment.
author
Tom Hughes
<tom@compton.nu>
Thu, 1 Oct 2009 20:22:52 +0000
(20:22 +0000)
committer
Tom Hughes
<tom@compton.nu>
Thu, 1 Oct 2009 20:22:52 +0000
(20:22 +0000)
app/controllers/user_roles_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/user_roles_controller.rb
b/app/controllers/user_roles_controller.rb
index 51106866efed9dc65785375027aa3b269353e068..ee4de7ce092e1ff954bc7d937f80bf4318d48dfd 100644
(file)
--- a/
app/controllers/user_roles_controller.rb
+++ b/
app/controllers/user_roles_controller.rb
@@
-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)