add is_admin attribute to users
This commit is contained in:
parent
07877f3256
commit
0418924d8e
7 changed files with 25 additions and 21 deletions
|
|
@ -4,6 +4,7 @@ module Admin
|
|||
|
||||
def index
|
||||
@users = User.all
|
||||
@roles = Role.all.where(resource_type: nil)
|
||||
end
|
||||
|
||||
def show
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue