Add politicians question type
This commit is contained in:
parent
4fe218166f
commit
2893f2bc53
16 changed files with 101 additions and 33 deletions
|
@ -20,4 +20,8 @@ class QuestionsController < ApplicationController
|
|||
)
|
||||
@answer.save!
|
||||
end
|
||||
|
||||
def handle_politicians_answer
|
||||
@answer.update!(data: params[:order])
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue