Module: CanCanNamespace::ControllerResource::ClassMethods

Defined in:
lib/cancan_namespace/controller_resource.rb

Class Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



11
12
13
14
15
# File 'lib/cancan_namespace/controller_resource.rb', line 11

def self.extended(base)
  base.class_eval do
    alias_method :authorize_resource, :authorize_resource_with_context
  end
end