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