Module: Decidim::Assemblies::NeedsAssembly::InstanceMethods

Defined in:
decidim-assemblies/app/controllers/concerns/decidim/assemblies/needs_assembly.rb

Instance Method Summary collapse

Instance Method Details

#current_assemblyObject Also known as: current_participatory_space

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

Returns the current Assembly.



31
32
33
# File 'decidim-assemblies/app/controllers/concerns/decidim/assemblies/needs_assembly.rb', line 31

def current_assembly
  @current_assembly ||= detect_assembly
end