Class: Archangel::AssetPolicy
- Inherits:
-
ApplicationPolicy
- Object
- ApplicationPolicy
- Archangel::AssetPolicy
- Defined in:
- app/policies/archangel/asset_policy.rb
Overview
Asset policy
Instance Attribute Summary
Attributes inherited from ApplicationPolicy
Instance Method Summary collapse
-
#wysiwyg? ⇒ Boolean
Check if ‘#wysiwyg` 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
#wysiwyg? ⇒ Boolean
Check if ‘#wysiwyg` action is authorized for current user.
13 14 15 |
# File 'app/policies/archangel/asset_policy.rb', line 13 def wysiwyg? true end |