Class: Decidim::TaxonomyPresenter
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Decidim::TaxonomyPresenter
- Includes:
- TranslationsHelper
- Defined in:
- decidim-core/app/presenters/decidim/taxonomy_presenter.rb
Overview
Decorator for taxonomies.
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 'decidim-core/app/presenters/decidim/taxonomy_presenter.rb', line 10 def translated_name @translated_name ||= translated_attribute name end |