Class: Renalware::Events::EventPolicy
- Inherits:
-
BasePolicy
- Object
- ApplicationPolicy
- BasePolicy
- Renalware::Events::EventPolicy
- Defined in:
- app/policies/renalware/events/event_policy.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from ApplicationPolicy
Instance Method Summary collapse
-
#edit? ⇒ Boolean
(also: #update?)
The default Event is not editable.
Methods inherited from BasePolicy
#contact_added?, #create?, #debug?, #destroy?, #index?, #initialize, #show?, #sort?
Methods inherited from ApplicationPolicy
#create?, #destroy?, #index?, #initialize, #new?, #scope, #show?
Constructor Details
This class inherits a constructor from Renalware::BasePolicy
Instance Method Details
#edit? ⇒ Boolean Also known as: update?
The default Event is not editable. See SwabPolicy for an example of enabling editing.
9 10 11 |
# File 'app/policies/renalware/events/event_policy.rb', line 9 def edit? false end |