Sha256: 332971dfdde92a5023f6aafa7242c9fdc2c68dd338e3b0196c5be2004d22a6f7

Contents?: true

Size: 460 Bytes

Versions: 56

Compression:

Stored size: 460 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Conferences
    class ConferenceWidgetsController < Decidim::WidgetsController
      helper Decidim::SanitizeHelper

      private

      def model
        @model ||= Conference.find_by(slug: params[:conference_slug])
      end

      def current_participatory_space
        model
      end

      def iframe_url
        @iframe_url ||= conference_conference_widget_url(model)
      end
    end
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
decidim-conferences-0.26.10 app/controllers/decidim/conferences/conference_widgets_controller.rb
decidim-conferences-0.26.9 app/controllers/decidim/conferences/conference_widgets_controller.rb
decidim-conferences-0.27.5 app/controllers/decidim/conferences/conference_widgets_controller.rb
decidim-conferences-0.26.8 app/controllers/decidim/conferences/conference_widgets_controller.rb
decidim-conferences-0.27.4 app/controllers/decidim/conferences/conference_widgets_controller.rb
decidim-conferences-0.27.3 app/controllers/decidim/conferences/conference_widgets_controller.rb
decidim-conferences-0.26.7 app/controllers/decidim/conferences/conference_widgets_controller.rb
decidim-conferences-0.26.5 app/controllers/decidim/conferences/conference_widgets_controller.rb
decidim-conferences-0.27.2 app/controllers/decidim/conferences/conference_widgets_controller.rb
decidim-conferences-0.27.1 app/controllers/decidim/conferences/conference_widgets_controller.rb
decidim-conferences-0.26.4 app/controllers/decidim/conferences/conference_widgets_controller.rb
decidim-conferences-0.27.0 app/controllers/decidim/conferences/conference_widgets_controller.rb
decidim-conferences-0.26.3 app/controllers/decidim/conferences/conference_widgets_controller.rb
decidim-conferences-0.27.0.rc2 app/controllers/decidim/conferences/conference_widgets_controller.rb
decidim-conferences-0.27.0.rc1 app/controllers/decidim/conferences/conference_widgets_controller.rb
decidim-conferences-0.26.2 app/controllers/decidim/conferences/conference_widgets_controller.rb
decidim-conferences-0.26.1 app/controllers/decidim/conferences/conference_widgets_controller.rb
decidim-conferences-0.26.0 app/controllers/decidim/conferences/conference_widgets_controller.rb
decidim-conferences-0.26.0.rc2 app/controllers/decidim/conferences/conference_widgets_controller.rb
decidim-conferences-0.26.0.rc1 app/controllers/decidim/conferences/conference_widgets_controller.rb