Sha256: a76840b9244166b2f23f588debcafa6a4412a01e63a389e4ec6e7f8b8fa5ae17
Contents?: true
Size: 517 Bytes
Versions: 33
Compression:
Stored size: 517 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 decidim_admin_initiatives.edit_initiative_url(resource, resource.mounted_params) end end end end
Version data entries
33 entries across 33 versions & 1 rubygems