Class: Decidim::Initiatives::Admin::InitiativeSentToTechnicalValidationEvent

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

Instance Method Summary collapse

Instance Method Details

#admin_initiative_pathObject



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_urlObject



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