Module: ActiveAdmin::ResourceController::Sidebars

Included in:
ActiveAdmin::ResourceController
Defined in:
lib/active_admin/resource_controller/sidebars.rb

Instance Method Summary collapse

Instance Method Details

#skip_sidebar!Object (protected)


8
9
10
# File 'lib/active_admin/resource_controller/sidebars.rb', line 8

def skip_sidebar!
  @skip_sidebar = true
end

#skip_sidebar?Boolean (protected)

Returns:

  • (Boolean)

12
13
14
# File 'lib/active_admin/resource_controller/sidebars.rb', line 12

def skip_sidebar?
  @skip_sidebar == true
end