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)



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

def skip_sidebar!
  @skip_sidebar = true
end

#skip_sidebar?Boolean (protected)

Returns:

  • (Boolean)


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

def skip_sidebar?
  @skip_sidebar == true
end