Module: ActiveAdmin::ViewHelpers::SidebarHelper

Included in:
ActiveAdmin::ViewHelpers
Defined in:
lib/active_admin/view_helpers/sidebar_helper.rb

Instance Method Summary collapse

Instance Method Details

#skip_sidebar!Object


5
6
7
# File 'lib/active_admin/view_helpers/sidebar_helper.rb', line 5

def skip_sidebar!
  @skip_sidebar = true
end

#skip_sidebar?Boolean

Returns:

  • (Boolean)

9
10
11
# File 'lib/active_admin/view_helpers/sidebar_helper.rb', line 9

def skip_sidebar?
  @skip_sidebar == true
end