Class: Decidim::AreaTypePresenter
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Decidim::AreaTypePresenter
- Includes:
- TranslationsHelper
- Defined in:
- app/presenters/decidim/area_type_presenter.rb
Overview
Decorator for area types
Instance Method Summary collapse
Methods included from TranslationsHelper
empty_translatable, ensure_translatable, multi_translation, translated_in_current_locale?
Methods included from TranslatableAttributes
Instance Method Details
#translated_name ⇒ Object
10 11 12 |
# File 'app/presenters/decidim/area_type_presenter.rb', line 10 def translated_name @translated_name ||= translated_attribute name end |