Sha256: 664d08d76bc8d08442f71c92ac4514b112380252c95461a05f4a443942a07d62
Contents?: true
Size: 415 Bytes
Versions: 58
Compression:
Stored size: 415 Bytes
Contents
# frozen_string_literal: true module Decidim module Proposals class ProposalWidgetsController < Decidim::WidgetsController helper Proposals::ApplicationHelper private def model @model ||= Proposal.where(feature: params[:feature_id]).find(params[:proposal_id]) end def iframe_url @iframe_url ||= proposal_proposal_widget_url(model) end end end end
Version data entries
58 entries across 58 versions & 2 rubygems