Module: Decidim::Consultations::NeedsConsultation::InstanceMethods

Defined in:
app/controllers/concerns/decidim/consultations/needs_consultation.rb

Instance Method Summary collapse

Instance Method Details

#current_consultationObject Also known as: current_participatory_space

Public: Finds the current Consultation given this controller’s context.

Returns the current Consultation.



31
32
33
# File 'app/controllers/concerns/decidim/consultations/needs_consultation.rb', line 31

def current_consultation
  @current_consultation ||= detect_consultation
end