Sha256: 09ae284af208a456d8e75728ad13078f6ad935cf70001b04f48e4a0e1fadfd11

Contents?: true

Size: 395 Bytes

Versions: 27

Compression:

Stored size: 395 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Meetings
    class MeetingWidgetsController < Decidim::WidgetsController
      helper MeetingsHelper

      private

      def model
        @model ||= Meeting.where(feature: params[:feature_id]).find(params[:meeting_id])
      end

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

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
decidim-meetings-0.7.4 app/controllers/decidim/meetings/meeting_widgets_controller.rb
decidim-meetings-0.7.3 app/controllers/decidim/meetings/meeting_widgets_controller.rb
decidim-meetings-0.7.2 app/controllers/decidim/meetings/meeting_widgets_controller.rb
decidim-meetings-0.7.1 app/controllers/decidim/meetings/meeting_widgets_controller.rb
decidim-meetings-0.7.0 app/controllers/decidim/meetings/meeting_widgets_controller.rb
decidim-meetings-0.6.8 app/controllers/decidim/meetings/meeting_widgets_controller.rb
decidim-0.6.8 decidim-meetings/app/controllers/decidim/meetings/meeting_widgets_controller.rb
decidim-meetings-0.6.7 app/controllers/decidim/meetings/meeting_widgets_controller.rb
decidim-0.6.7 decidim-meetings/app/controllers/decidim/meetings/meeting_widgets_controller.rb
decidim-meetings-0.6.6 app/controllers/decidim/meetings/meeting_widgets_controller.rb
decidim-0.6.6 decidim-meetings/app/controllers/decidim/meetings/meeting_widgets_controller.rb
decidim-meetings-0.6.5 app/controllers/decidim/meetings/meeting_widgets_controller.rb
decidim-0.6.5 decidim-meetings/app/controllers/decidim/meetings/meeting_widgets_controller.rb
decidim-meetings-0.6.4 app/controllers/decidim/meetings/meeting_widgets_controller.rb
decidim-0.6.4 decidim-meetings/app/controllers/decidim/meetings/meeting_widgets_controller.rb
decidim-meetings-0.6.3 app/controllers/decidim/meetings/meeting_widgets_controller.rb
decidim-0.6.3 decidim-meetings/app/controllers/decidim/meetings/meeting_widgets_controller.rb
decidim-meetings-0.6.2 app/controllers/decidim/meetings/meeting_widgets_controller.rb
decidim-0.6.2 decidim-meetings/app/controllers/decidim/meetings/meeting_widgets_controller.rb
decidim-meetings-0.6.1 app/controllers/decidim/meetings/meeting_widgets_controller.rb