settings_policy.rb (137B)
- # frozen_string_literal: true
- class SettingsPolicy < ApplicationPolicy
- def update?
- admin?
- end
- def show?
- admin?
- end
- end
git clone https://hacktivis.me/git/mastofe.git
settings_policy.rb (137B)
- # frozen_string_literal: true
- class SettingsPolicy < ApplicationPolicy
- def update?
- admin?
- end
- def show?
- admin?
- end
- end