Module: Decidim::Votings::NeedsVoting::InstanceMethods

Defined in:
decidim-elections/app/controllers/concerns/decidim/votings/needs_voting.rb

Instance Method Summary collapse

Instance Method Details

#current_participatory_spaceObject Also known as: current_voting

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

Returns the current Voting.



25
26
27
# File 'decidim-elections/app/controllers/concerns/decidim/votings/needs_voting.rb', line 25

def current_participatory_space
  @current_participatory_space ||= detect_voting
end