Sha256: e62fb274d8f9f91509998db31ad57cf7bc56f299acc24b319a9e19fb45925c7d

Contents?: true

Size: 327 Bytes

Versions: 92

Compression:

Stored size: 327 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module System
    # This module includes helpers to manage menus in system layout
    module MenuHelper
      # Public: Returns the main menu presenter object
      def main_menu
        @main_menu ||= ::Decidim::MenuPresenter.new(:system_menu, self)
      end
    end
  end
end

Version data entries

92 entries across 92 versions & 2 rubygems

Version Path
decidim-system-0.24.3 app/helpers/decidim/system/menu_helper.rb
decidim-system-0.23.6 app/helpers/decidim/system/menu_helper.rb
decidim-system-0.24.2 app/helpers/decidim/system/menu_helper.rb
decidim-system-0.23.5 app/helpers/decidim/system/menu_helper.rb
decidim-system-0.24.1 app/helpers/decidim/system/menu_helper.rb
decidim-system-0.24.0 app/helpers/decidim/system/menu_helper.rb
decidim-system-0.24.0.rc2 app/helpers/decidim/system/menu_helper.rb
decidim-system-0.23.4 app/helpers/decidim/system/menu_helper.rb
decidim-system-0.24.0.rc1 app/helpers/decidim/system/menu_helper.rb
decidim-system-0.23.3 app/helpers/decidim/system/menu_helper.rb
decidim-system-0.23.2 app/helpers/decidim/system/menu_helper.rb
decidim-system-0.23.1 app/helpers/decidim/system/menu_helper.rb
decidim-system-0.23.1.rc1 app/helpers/decidim/system/menu_helper.rb
decidim-system-0.23.0 app/helpers/decidim/system/menu_helper.rb
decidim-system-0.22.0 app/helpers/decidim/system/menu_helper.rb
decidim-system-0.21.0 app/helpers/decidim/system/menu_helper.rb
decidim-system-0.20.1 app/helpers/decidim/system/menu_helper.rb
decidim-system-0.20.0 app/helpers/decidim/system/menu_helper.rb
decidim-system-0.19.1 app/helpers/decidim/system/menu_helper.rb
decidim-system-0.18.1 app/helpers/decidim/system/menu_helper.rb