Class: Archangel::EntryPolicy
- Inherits:
-
ApplicationPolicy
- Object
- ApplicationPolicy
- Archangel::EntryPolicy
- Defined in:
- app/policies/archangel/entry_policy.rb
Overview
Entry policy
Instance Attribute Summary
Attributes inherited from ApplicationPolicy
Instance Method Summary collapse
-
#sort? ⇒ Boolean
Check if ‘#sort` action is authorized for current user.
Methods inherited from ApplicationPolicy
#create?, #destroy?, #edit?, #index?, #initialize, #new?, #scope, #show?, #update?
Constructor Details
This class inherits a constructor from Archangel::ApplicationPolicy
Instance Method Details
#sort? ⇒ Boolean
Check if ‘#sort` action is authorized for current user
13 14 15 |
# File 'app/policies/archangel/entry_policy.rb', line 13 def sort? true end |