Module: Decidim::System::MenuHelper
- Defined in:
- app/helpers/decidim/system/menu_helper.rb
Overview
This module includes helpers to manage menus in system layout
Instance Method Summary collapse
-
#main_menu ⇒ Object
Public: Returns the main menu presenter object.
Instance Method Details
#main_menu ⇒ Object
Public: Returns the main menu presenter object
8 9 10 11 12 13 14 |
# File 'app/helpers/decidim/system/menu_helper.rb', line 8 def @main_menu ||= ::Decidim::MenuPresenter.new( :system_menu, self, label: t("layouts.decidim.header.main_menu") ) end |