Class: Decidim::ParticipatoryProcesses::ParticipatoryProcessGroupPresenter
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Decidim::ParticipatoryProcesses::ParticipatoryProcessGroupPresenter
- Defined in:
- decidim-participatory_processes/app/presenters/decidim/participatory_processes/participatory_process_group_presenter.rb
Instance Method Summary collapse
Instance Method Details
#hero_image_url ⇒ Object
6 7 8 9 10 |
# File 'decidim-participatory_processes/app/presenters/decidim/participatory_processes/participatory_process_group_presenter.rb', line 6 def hero_image_url return if process_group.blank? process_group.attached_uploader(:hero_image).url end |
#process_group ⇒ Object
12 13 14 |
# File 'decidim-participatory_processes/app/presenters/decidim/participatory_processes/participatory_process_group_presenter.rb', line 12 def process_group __getobj__ end |