Sha256: 42ea918a7a91a0c7b421944917d2e759865453b025f21f41c1d2011982331fea

Contents?: true

Size: 263 Bytes

Versions: 90

Compression:

Stored size: 263 Bytes

Contents

# frozen_string_literal: true

module Decidim
  #
  # Decorator for area types
  #
  class AreaTypePresenter < SimpleDelegator
    include Decidim::TranslationsHelper

    def translated_name
      @translated_name ||= translated_attribute name
    end
  end
end

Version data entries

90 entries across 90 versions & 1 rubygems

Version Path
decidim-core-0.25.0.rc4 app/presenters/decidim/area_type_presenter.rb
decidim-core-0.25.0.rc3 app/presenters/decidim/area_type_presenter.rb
decidim-core-0.25.0.rc2 app/presenters/decidim/area_type_presenter.rb
decidim-core-0.25.0.rc1 app/presenters/decidim/area_type_presenter.rb
decidim-core-0.24.3 app/presenters/decidim/area_type_presenter.rb
decidim-core-0.23.6 app/presenters/decidim/area_type_presenter.rb
decidim-core-0.24.2 app/presenters/decidim/area_type_presenter.rb
decidim-core-0.23.5 app/presenters/decidim/area_type_presenter.rb
decidim-core-0.24.1 app/presenters/decidim/area_type_presenter.rb
decidim-core-0.24.0 app/presenters/decidim/area_type_presenter.rb
decidim-core-0.24.0.rc2 app/presenters/decidim/area_type_presenter.rb
decidim-core-0.23.4 app/presenters/decidim/area_type_presenter.rb
decidim-core-0.24.0.rc1 app/presenters/decidim/area_type_presenter.rb
decidim-core-0.23.3 app/presenters/decidim/area_type_presenter.rb
decidim-core-0.23.2 app/presenters/decidim/area_type_presenter.rb
decidim-core-0.23.1 app/presenters/decidim/area_type_presenter.rb
decidim-core-0.23.1.rc1 app/presenters/decidim/area_type_presenter.rb
decidim-core-0.23.0 app/presenters/decidim/area_type_presenter.rb
decidim-core-0.22.0 app/presenters/decidim/area_type_presenter.rb
decidim-core-0.21.0 app/presenters/decidim/area_type_presenter.rb