Method: Effective::WizardController::BeforeActions#authorize_resource

Defined in:
app/controllers/concerns/effective/wizard_controller/before_actions.rb

#authorize_resourceObject

before_action :authorize_resource, only: [:show, :update] Authorize the resource



31
32
33
# File 'app/controllers/concerns/effective/wizard_controller/before_actions.rb', line 31

def authorize_resource
  EffectiveResources.authorize!(self, action_name.to_sym, resource)
end