Sha256: 0fbd88e24717ca76a6c198003cb8889b3c6d68e47717969e607f4533f4166c3c
Contents?: true
Size: 546 Bytes
Versions: 4
Compression:
Stored size: 546 Bytes
Contents
# frozen-string_literal: true module Decidim module Initiatives module Admin 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 end
Version data entries
4 entries across 4 versions & 1 rubygems