Sha256: bbad095c6c79ce84b56a6e1fe18120ed6d0d84d6bbd17e09c9d832d7c1223f36

Contents?: true

Size: 219 Bytes

Versions: 6

Compression:

Stored size: 219 Bytes

Contents

class AbAdmin::Controllers::CanCanManagerResource < CanCan::InheritedResource
  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.8.0 lib/ab_admin/controllers/can_can_manager_resource.rb
ab_admin-0.7.0 lib/ab_admin/controllers/can_can_manager_resource.rb
ab_admin-0.6.1 lib/ab_admin/controllers/can_can_manager_resource.rb
ab_admin-0.6.0 lib/ab_admin/controllers/can_can_manager_resource.rb
ab_admin-0.5.0 lib/ab_admin/controllers/can_can_manager_resource.rb
ab_admin-0.4.0 lib/ab_admin/controllers/can_can_manager_resource.rb