mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-02 13:24:20 +01:00
10 lines
120 B
Ruby
10 lines
120 B
Ruby
class PricePolicy < ApplicationPolicy
|
|
def index?
|
|
user.is_admin?
|
|
end
|
|
|
|
def update?
|
|
user.is_admin?
|
|
end
|
|
end
|