Sha256: 377bef039b077a87838e01b54e7bf4330d6b3c3a73c3859d756874b8ee6cd31e

Contents?: true

Size: 485 Bytes

Versions: 13

Compression:

Stored size: 485 Bytes

Contents

# frozen_string_literal: true

require "active_support/concern"

module Decidim
  # Include this concern in controllers associated with profile to insert the
  # corresponding element breadcrumb
  module HasProfileBreadcrumb
    extend ActiveSupport::Concern

    included do
      include HasSpecificBreadcrumb

      private

      def breadcrumb_item
        {
          label: t("layouts.decidim.user_profile.profile"),
          active: true
        }
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

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