Module: Authorization

Extended by:
ActiveSupport::Concern
Includes:
Pundit
Defined in:
lib/stationed/generators/templates/authorization.rb

Overview

Controller concern for authorization using Pundit. This ensures that actions properly use Pundit’s authorization hooks (‘authorize` and `policy_scope`).