Class: Decidim::Meetings::Admin::AnswerOptionForm

Inherits:
Form
  • Object
show all
Includes:
TranslatableAttributes
Defined in:
app/forms/decidim/meetings/admin/answer_option_form.rb

Overview

This class holds a Form to update answer options

Instance Method Summary collapse

Instance Method Details

#to_paramObject



16
17
18
19
20
# File 'app/forms/decidim/meetings/admin/answer_option_form.rb', line 16

def to_param
  return id if id.present?

  "questionnaire-question-answer-option-id"
end