Sha256: 2a58970a50a602a430af44370823af8a32964c940ec0307167660566aa400d7f
Contents?: true
Size: 528 Bytes
Versions: 6
Compression:
Stored size: 528 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryProcesses class ParticipatoryProcessWidgetsController < Decidim::WidgetsController helper Decidim::SanitizeHelper private def model @model ||= ParticipatoryProcess.where(slug: params[:participatory_process_slug]).first end def current_participatory_space model end def iframe_url @iframe_url ||= participatory_process_participatory_process_widget_url(model) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems