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