mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-13 23:48:55 +01:00
10 lines
114 B
Ruby
10 lines
114 B
Ruby
class AdminPolicy < ApplicationPolicy
|
|
def index?
|
|
user.admin?
|
|
end
|
|
|
|
def create?
|
|
user.admin?
|
|
end
|
|
end
|