Sha256: 5aa8ad567ed2b004a573448f9f0017be77a9cd9df9b4a1668e6d82716b5767d8
Contents?: true
Size: 501 Bytes
Versions: 10
Compression:
Stored size: 501 Bytes
Contents
# frozen_string_literal: true module Decidim module Initiatives class InitiativeSentToTechnicalValidationEvent < Decidim::Events::SimpleEvent include Rails.application.routes.mounted_helpers i18n_attributes :admin_initiative_url, :admin_initiative_path def admin_initiative_path ResourceLocatorPresenter.new(resource).edit end def admin_initiative_url EngineRouter.admin_proxy(resource).edit_initiative_url(resource) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems