Sha256: c3d63804c680f465e7953e4a24048202346093f677a9e2cd4eda3bdcef8460dc
Contents?: true
Size: 402 Bytes
Versions: 41
Compression:
Stored size: 402 Bytes
Contents
# frozen_string_literal: true module Decidim module Proposals class WidgetsController < Decidim::WidgetsController helper Proposals::ApplicationHelper private def model @model ||= Proposal.where(component: params[:component_id]).find(params[:proposal_id]) end def iframe_url @iframe_url ||= proposal_widget_url(model) end end end end
Version data entries
41 entries across 41 versions & 1 rubygems