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



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

def skip_sidebar!
  @skip_sidebar = true
end

#skip_sidebar?Boolean

Returns:

  • (Boolean)


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

def skip_sidebar?
  @skip_sidebar == true
end