update ablity for waiter
This commit is contained in:
@@ -183,7 +183,9 @@ class Ability
|
||||
|
||||
can :index, :home
|
||||
can :show, :home
|
||||
|
||||
elsif user.role == "waiter"
|
||||
can :index, :home
|
||||
can :show, :home
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user