Class: Decidim::Consultations::VoteForm

Inherits:
Form
  • Object
show all
Defined in:
app/forms/decidim/consultations/vote_form.rb

Instance Method Summary collapse

Instance Method Details

#responseObject



13
14
15
# File 'app/forms/decidim/consultations/vote_form.rb', line 13

def response
  @response ||= Response.find_by(id: decidim_consultations_response_id)
end