Sha256: 716658dcf6d54ef525d96da6170f85d3f7d809151e0e3651bb68cfe197f3bb82
Contents?: true
Size: 449 Bytes
Versions: 30
Compression:
Stored size: 449 Bytes
Contents
# frozen_string_literal: true module Decidim module Assemblies class AssemblyWidgetsController < Decidim::WidgetsController helper Decidim::SanitizeHelper private def model @model ||= Assembly.find_by(slug: params[:assembly_slug]) end def current_participatory_space model end def iframe_url @iframe_url ||= assembly_assembly_widget_url(model) end end end end
Version data entries
30 entries across 30 versions & 1 rubygems