Sha256: 79fba5497676c323a8ec57b533794348d310ec59983b834bbfca4ac617465127
Contents?: true
Size: 800 Bytes
Versions: 77
Compression:
Stored size: 800 Bytes
Contents
# frozen-string_literal: true module Decidim class ParticipatoryProcessStepActivatedEvent < Decidim::Events::SimpleEvent include Rails.application.routes.mounted_helpers def resource_path @resource_path ||= decidim_participatory_processes.participatory_process_participatory_process_steps_path(participatory_process_slug: participatory_space.slug) end def resource_url @resource_url ||= decidim_participatory_processes .participatory_process_participatory_process_steps_url( participatory_process_slug: participatory_space.slug, host: participatory_space.organization.host ) end def participatory_space resource.participatory_process end end end
Version data entries
77 entries across 77 versions & 2 rubygems