1
0

settings_policy.rb 170 B

123456789101112131415
  1. # frozen_string_literal: true
  2. class SettingsPolicy < ApplicationPolicy
  3. def update?
  4. admin?
  5. end
  6. def show?
  7. admin?
  8. end
  9. def destroy?
  10. admin?
  11. end
  12. end