This repository has been archived on 2024-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
2017-11-11 14:23:33 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class SettingsPolicy < ApplicationPolicy
|
|
|
|
def update?
|
|
|
|
admin?
|
|
|
|
end
|
|
|
|
|
|
|
|
def show?
|
|
|
|
admin?
|
|
|
|
end
|
2020-03-08 11:00:24 -04:00
|
|
|
|
|
|
|
def destroy?
|
|
|
|
admin?
|
|
|
|
end
|
2017-11-11 14:23:33 -05:00
|
|
|
end
|