Module: Decidim::Assemblies::NeedsAssembly::InstanceMethods
- Defined in:
- decidim-assemblies/app/controllers/concerns/decidim/assemblies/needs_assembly.rb
Instance Method Summary collapse
-
#current_assembly ⇒ Object
(also: #current_participatory_space)
Public: Finds the current Assembly given this controller’s context.
Instance Method Details
#current_assembly ⇒ Object 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 |