1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-17 11:54:22 +01:00

10 lines
114 B
Ruby

class AdminPolicy < ApplicationPolicy
def index?
user.admin?
end
def create?
user.admin?
end
end