Method: CanCan::ControllerResource#authorize_resource
- Defined in:
- lib/cancan/controller_resource.rb
#authorize_resource ⇒ Object
37 38 39 40 41 |
# File 'lib/cancan/controller_resource.rb', line 37 def return if skip?(:authorize) @controller.(, resource_instance || resource_class_with_parent) end |