Module: Sidebars::Concerns::HasPartial

Included in:
Menu
Defined in:
lib/sidebars/concerns/has_partial.rb

Instance Method Summary collapse

Instance Method Details


8
9
10
# File 'lib/sidebars/concerns/has_partial.rb', line 8

def menu_partial
  nil
end

12
13
14
# File 'lib/sidebars/concerns/has_partial.rb', line 12

def menu_partial_options
  {}
end

Returns:

  • (Boolean)

16
17
18
# File 'lib/sidebars/concerns/has_partial.rb', line 16

def menu_with_partial?
  menu_partial.present?
end