Module: Decidim::Votings::NeedsVoting::InstanceMethods
- Defined in:
- app/controllers/concerns/decidim/votings/needs_voting.rb
Instance Method Summary collapse
-
#current_participatory_space ⇒ Object
(also: #current_voting)
Public: Finds the current Voting given this controller’s context.
Instance Method Details
#current_participatory_space ⇒ Object Also known as: current_voting
Public: Finds the current Voting given this controller’s context.
Returns the current Voting.
25 26 27 |
# File 'app/controllers/concerns/decidim/votings/needs_voting.rb', line 25 def current_participatory_space @current_participatory_space ||= detect_voting end |