PR comments applied and poll_question_answer default name changed in factory.

This commit is contained in:
iagirre
2017-10-11 09:42:52 +02:00
parent 44474e7686
commit 644d09ebd2
3 changed files with 12 additions and 9 deletions

View File

@@ -9,7 +9,6 @@ class Admin::Poll::Questions::AnswersController < Admin::Poll::BaseController
def create
@answer = ::Poll::Question::Answer.new(answer_params)
@answer.set_order
if @answer.save
redirect_to admin_question_path(@answer.question),