about summary refs log tree commit diff
path: root/app/policies/settings_policy.rb
blob: 874f97bab96a7b7f2c64e0a58d271aa01e2dc30a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class SettingsPolicy < ApplicationPolicy
  def update?
    admin?
  end

  def show?
    admin?
  end

  def destroy?
    admin?
  end
end