Sha256: c8210b328e098b9c904f7c8a6502d57e6afc434848d38592d624a6d7ef8cb4d9
Contents?: true
Size: 443 Bytes
Versions: 41
Compression:
Stored size: 443 Bytes
Contents
# frozen_string_literal: true module Decidim module Sortitions class WidgetsController < Decidim::WidgetsController helper Decidim::SanitizeHelper helper Sortitions::SortitionsHelper private def model @model ||= Sortition.where(component: params[:component_id]).find(params[:sortition_id]) end def iframe_url @iframe_url ||= sortition_widget_url(model) end end end end
Version data entries
41 entries across 41 versions & 1 rubygems