Module: Drillbit::AuthorizableResource
- Defined in:
- lib/drillbit/authorizable_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
65 66 67 68 69 70 |
# File 'lib/drillbit/authorizable_resource.rb', line 65 def self.included(base) base.include Resource::Naming base.extend ClassMethods base.before_action :authorize end |