Sha256: 71900bf9db08bfed80f50c4e59f5483f46bff8ebaed8bf449131e22f00020a19

Contents?: true

Size: 487 Bytes

Versions: 13

Compression:

Stored size: 487 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Conferences
    module Admin
      # This module, when injected into a controller, ensures there is a
      # Conference available and deducts it from the context.
      module ConferenceContext
        def self.extended(base)
          base.class_eval do
            include Concerns::ConferenceAdmin

            alias_method :current_conference, :current_participatory_space
          end
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-conferences-0.29.1 app/controllers/concerns/decidim/conferences/admin/conference_context.rb
decidim-conferences-0.28.4 app/controllers/concerns/decidim/conferences/admin/conference_context.rb
decidim-conferences-0.29.0 app/controllers/concerns/decidim/conferences/admin/conference_context.rb
decidim-conferences-0.28.3 app/controllers/concerns/decidim/conferences/admin/conference_context.rb
decidim-conferences-0.29.0.rc4 app/controllers/concerns/decidim/conferences/admin/conference_context.rb
decidim-conferences-0.29.0.rc3 app/controllers/concerns/decidim/conferences/admin/conference_context.rb
decidim-conferences-0.29.0.rc2 app/controllers/concerns/decidim/conferences/admin/conference_context.rb
decidim-conferences-0.29.0.rc1 app/controllers/concerns/decidim/conferences/admin/conference_context.rb
decidim-conferences-0.28.2 app/controllers/concerns/decidim/conferences/admin/conference_context.rb
decidim-conferences-0.28.1 app/controllers/concerns/decidim/conferences/admin/conference_context.rb
decidim-conferences-0.28.0 app/controllers/concerns/decidim/conferences/admin/conference_context.rb
decidim-conferences-0.28.0.rc5 app/controllers/concerns/decidim/conferences/admin/conference_context.rb
decidim-conferences-0.28.0.rc4 app/controllers/concerns/decidim/conferences/admin/conference_context.rb