Sha256: 49654ad4202205b124bb63018d6da02a361e0f567ee6667e942e311455ca64f7

Contents?: true

Size: 400 Bytes

Versions: 18

Compression:

Stored size: 400 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Assemblies
    class AssemblyWidgetsController < Decidim::WidgetsController
      private

      def model
        @model ||= Assembly.find(params[:assembly_id])
      end

      def current_participatory_space
        model
      end

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

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
decidim-assemblies-0.6.8 app/controllers/decidim/assemblies/assembly_widgets_controller.rb
decidim-0.6.8 decidim-assemblies/app/controllers/decidim/assemblies/assembly_widgets_controller.rb
decidim-assemblies-0.6.7 app/controllers/decidim/assemblies/assembly_widgets_controller.rb
decidim-0.6.7 decidim-assemblies/app/controllers/decidim/assemblies/assembly_widgets_controller.rb
decidim-assemblies-0.6.6 app/controllers/decidim/assemblies/assembly_widgets_controller.rb
decidim-0.6.6 decidim-assemblies/app/controllers/decidim/assemblies/assembly_widgets_controller.rb
decidim-assemblies-0.6.5 app/controllers/decidim/assemblies/assembly_widgets_controller.rb
decidim-0.6.5 decidim-assemblies/app/controllers/decidim/assemblies/assembly_widgets_controller.rb
decidim-assemblies-0.6.4 app/controllers/decidim/assemblies/assembly_widgets_controller.rb
decidim-0.6.4 decidim-assemblies/app/controllers/decidim/assemblies/assembly_widgets_controller.rb
decidim-assemblies-0.6.3 app/controllers/decidim/assemblies/assembly_widgets_controller.rb
decidim-0.6.3 decidim-assemblies/app/controllers/decidim/assemblies/assembly_widgets_controller.rb
decidim-assemblies-0.6.2 app/controllers/decidim/assemblies/assembly_widgets_controller.rb
decidim-0.6.2 decidim-assemblies/app/controllers/decidim/assemblies/assembly_widgets_controller.rb
decidim-assemblies-0.6.1 app/controllers/decidim/assemblies/assembly_widgets_controller.rb
decidim-0.6.1 decidim-assemblies/app/controllers/decidim/assemblies/assembly_widgets_controller.rb
decidim-assemblies-0.6.0 app/controllers/decidim/assemblies/assembly_widgets_controller.rb
decidim-0.6.0 decidim-assemblies/app/controllers/decidim/assemblies/assembly_widgets_controller.rb