Sha256: d186e7925f07aa51df232aa63b3474c24afbbac6201b0261a7b357546515b0da
Contents?: true
Size: 490 Bytes
Versions: 5
Compression:
Stored size: 490 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryProcesses class ParticipatoryProcessWidgetsController < Decidim::WidgetsController 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
5 entries across 5 versions & 1 rubygems