Class: Decidim::Initiatives::Admin::InitiativeSentToTechnicalValidationEvent
- Inherits:
-
Events::SimpleEvent
- Object
- Events::SimpleEvent
- Decidim::Initiatives::Admin::InitiativeSentToTechnicalValidationEvent
- Defined in:
- app/events/decidim/initiatives/admin/initiative_sent_to_technical_validation_event.rb
Instance Method Summary collapse
Instance Method Details
#admin_initiative_path ⇒ Object
11 12 13 |
# File 'app/events/decidim/initiatives/admin/initiative_sent_to_technical_validation_event.rb', line 11 def admin_initiative_path ResourceLocatorPresenter.new(resource).edit end |
#admin_initiative_url ⇒ Object
15 16 17 |
# File 'app/events/decidim/initiatives/admin/initiative_sent_to_technical_validation_event.rb', line 15 def admin_initiative_url EngineRouter.admin_proxy(resource).edit_initiative_url(resource) end |