Module: Decidim::Conferences::Admin::ConferenceContext

Defined in:
decidim-conferences/app/controllers/concerns/decidim/conferences/admin/conference_context.rb

Overview

This module, when injected into a controller, ensures there is a Conference available and deducts it from the context.

Class Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



9
10
11
12
13
14
15
# File 'decidim-conferences/app/controllers/concerns/decidim/conferences/admin/conference_context.rb', line 9

def self.extended(base)
  base.class_eval do
    include Concerns::ConferenceAdmin

    alias_method :current_conference, :current_participatory_space
  end
end