Sha256: e0ea73c40fbd6a30e280cdb54e825ee4e16e8a2348bfc9ca076f19b2423b17e1

Contents?: true

Size: 254 Bytes

Versions: 77

Compression:

Stored size: 254 Bytes

Contents

# frozen_string_literal: true

module Decidim
  #
  # Decorator for areas
  #
  class AreaPresenter < SimpleDelegator
    include Decidim::TranslationsHelper

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

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
decidim-core-0.27.9 app/presenters/decidim/area_presenter.rb
decidim-core-0.27.8 app/presenters/decidim/area_presenter.rb
decidim-core-0.27.7 app/presenters/decidim/area_presenter.rb
decidim-core-0.27.6 app/presenters/decidim/area_presenter.rb
decidim-core-0.26.10 app/presenters/decidim/area_presenter.rb
decidim-core-0.26.9 app/presenters/decidim/area_presenter.rb
decidim-core-0.27.5 app/presenters/decidim/area_presenter.rb
decidim-core-0.26.8 app/presenters/decidim/area_presenter.rb
decidim-core-0.27.4 app/presenters/decidim/area_presenter.rb
decidim-core-0.27.3 app/presenters/decidim/area_presenter.rb
decidim-core-0.26.7 app/presenters/decidim/area_presenter.rb
decidim-core-0.26.5 app/presenters/decidim/area_presenter.rb
decidim-core-0.27.2 app/presenters/decidim/area_presenter.rb
decidim-core-0.27.1 app/presenters/decidim/area_presenter.rb
decidim-core-0.26.4 app/presenters/decidim/area_presenter.rb
decidim-core-0.27.0 app/presenters/decidim/area_presenter.rb
decidim-core-0.26.3 app/presenters/decidim/area_presenter.rb
decidim-core-0.27.0.rc2 app/presenters/decidim/area_presenter.rb
decidim-core-0.27.0.rc1 app/presenters/decidim/area_presenter.rb
decidim-core-0.26.2 app/presenters/decidim/area_presenter.rb