Sha256: bdafaddde2a806c5e3a4e9c14465fce2f695a7383185e1e90aa9aa0997aa822f

Contents?: true

Size: 359 Bytes

Versions: 13

Compression:

Stored size: 359 Bytes

Contents

# frozen_string_literal: true

module Decidim
  # A presenter to render breadcrumb root menu
  class BreadcrumbRootMenuPresenter < MenuPresenter
    def render
      render_menu
    end

    protected

    def menu_items
      items.map do |menu_item|
        BreadcrumbRootMenuItemPresenter.new(menu_item, @view, @options).render
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-core-0.29.1 app/presenters/decidim/breadcrumb_root_menu_presenter.rb
decidim-core-0.28.4 app/presenters/decidim/breadcrumb_root_menu_presenter.rb
decidim-core-0.29.0 app/presenters/decidim/breadcrumb_root_menu_presenter.rb
decidim-core-0.28.3 app/presenters/decidim/breadcrumb_root_menu_presenter.rb
decidim-core-0.29.0.rc4 app/presenters/decidim/breadcrumb_root_menu_presenter.rb
decidim-core-0.29.0.rc3 app/presenters/decidim/breadcrumb_root_menu_presenter.rb
decidim-core-0.29.0.rc2 app/presenters/decidim/breadcrumb_root_menu_presenter.rb
decidim-core-0.29.0.rc1 app/presenters/decidim/breadcrumb_root_menu_presenter.rb
decidim-core-0.28.2 app/presenters/decidim/breadcrumb_root_menu_presenter.rb
decidim-core-0.28.1 app/presenters/decidim/breadcrumb_root_menu_presenter.rb
decidim-core-0.28.0 app/presenters/decidim/breadcrumb_root_menu_presenter.rb
decidim-core-0.28.0.rc5 app/presenters/decidim/breadcrumb_root_menu_presenter.rb
decidim-core-0.28.0.rc4 app/presenters/decidim/breadcrumb_root_menu_presenter.rb