Sha256: f26896e131a285addf47f6d51336486808f24fafdfa72830b02e3c9f051ac4a4
Contents?: true
Size: 744 Bytes
Versions: 13
Compression:
Stored size: 744 Bytes
Contents
# frozen_string_literal: true module Decidim class ParticipatoryProcessStepChangedEvent < Decidim::Events::SimpleEvent include Rails.application.routes.mounted_helpers def resource_path @resource_path ||= decidim_participatory_processes.participatory_process_path(participatory_space, display_steps: true) end def resource_url @resource_url ||= decidim_participatory_processes .participatory_process_url( participatory_space, display_steps: true, host: participatory_space.organization.host ) end def participatory_space resource.participatory_process end end end
Version data entries
13 entries across 13 versions & 1 rubygems