Class: Renalware::Events::InvestigationPolicy

Inherits:
EventPolicy show all
Defined in:
app/policies/renalware/events/investigation_policy.rb

Instance Attribute Summary

Attributes inherited from ApplicationPolicy

#record, #user

Instance Method Summary collapse

Methods inherited from EventPolicy

#destroy?

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?

Returns:

  • (Boolean)


8
9
10
# File 'app/policies/renalware/events/investigation_policy.rb', line 8

def edit?
  true
end