Sha256: 39108872f45ad325f615c160e4f667b5c4180e90ee087beb0af40100644352eb

Contents?: true

Size: 220 Bytes

Versions: 6

Compression:

Stored size: 220 Bytes

Contents

class AbAdmin::Controllers::CanCanManagerResource < CanCan::InheritedResources
  def instance_name
    @controller.send(:resource_instance_name)
  end

  def resource_class
    @controller.send(:resource_class)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ab_admin-0.11.0 lib/ab_admin/controllers/can_can_manager_resource.rb
ab_admin-0.10.0 lib/ab_admin/controllers/can_can_manager_resource.rb
ab_admin-0.9.0 lib/ab_admin/controllers/can_can_manager_resource.rb
ab_admin-0.8.3 lib/ab_admin/controllers/can_can_manager_resource.rb
ab_admin-0.8.2 lib/ab_admin/controllers/can_can_manager_resource.rb
ab_admin-0.8.1 lib/ab_admin/controllers/can_can_manager_resource.rb