Sha256: fbb28d22f741a875d395d6daca304914b9847616a46b2abdd0ab2ea07fded8e7

Contents?: true

Size: 360 Bytes

Versions: 6

Compression:

Stored size: 360 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module EnhancedTextwork
    #
    # A dummy presenter to abstract out the author of an official paragraph.
    #
    class OfficialAuthorPresenter < Decidim::OfficialAuthorPresenter
      def name
        I18n.t("decidim.enhanced_textwork.models.paragraph.fields.official_paragraph")
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-enhanced_textwork-1.0.5 app/presenters/decidim/enhanced_textwork/official_author_presenter.rb
decidim-enhanced_textwork-1.0.4 app/presenters/decidim/enhanced_textwork/official_author_presenter.rb
decidim-enhanced_textwork-1.0.3 app/presenters/decidim/enhanced_textwork/official_author_presenter.rb
decidim-enhanced_textwork-1.0.2 app/presenters/decidim/enhanced_textwork/official_author_presenter.rb
decidim-enhanced_textwork-1.0.1 app/presenters/decidim/enhanced_textwork/official_author_presenter.rb
decidim-enhanced_textwork-1.0.0 app/presenters/decidim/enhanced_textwork/official_author_presenter.rb