Correct comment.
This commit is contained in:
parent
7dbf68aa52
commit
54649a39a0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue