Class: Decidim::Initiatives::InitiativeSentToTechnicalValidationEvent

Inherits:
Events::SimpleEvent
  • Object
show all
Defined in:
app/events/decidim/initiatives/initiative_sent_to_technical_validation_event.rb

Instance Method Summary collapse

Instance Method Details

#admin_initiative_pathObject



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_urlObject



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