Class: Decidim::Elections::Trustees::NotifyNewTrusteeEvent
- Inherits:
-
Decidim::Events::SimpleEvent
- Object
- Decidim::Events::SimpleEvent
- Decidim::Elections::Trustees::NotifyNewTrusteeEvent
- Defined in:
- app/events/decidim/elections/trustees/notify_new_trustee_event.rb
Instance Method Summary collapse
Instance Method Details
#participatory_space ⇒ Object
18 19 20 |
# File 'app/events/decidim/elections/trustees/notify_new_trustee_event.rb', line 18 def participatory_space @participatory_space ||= resource end |
#resource_name ⇒ Object
14 15 16 |
# File 'app/events/decidim/elections/trustees/notify_new_trustee_event.rb', line 14 def resource_name @resource_name ||= translated_attribute(participatory_space.title) end |
#trustee_zone_url ⇒ Object
22 23 24 |
# File 'app/events/decidim/elections/trustees/notify_new_trustee_event.rb', line 22 def trustee_zone_url url_helpers.decidim_elections_trustee_zone_url(host: organization.host) end |