Module: Apiphobic::Authorization::Resource
- Defined in:
- lib/apiphobic/authorization/resource.rb
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- RESOURCE_COLLECTION_ACTIONS =
%w{index}.freeze
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
56 57 58 59 60 61 |
# File 'lib/apiphobic/authorization/resource.rb', line 56 def self.included(base) base.include AppleCore::ActionController::ResourceNaming base.extend ClassMethods base.before_action :authorize end |