fixes specs

This commit is contained in:
rgarcia
2017-10-06 20:32:06 +02:00
parent 23ef9ded1d
commit cf3a62b126
3 changed files with 4 additions and 6 deletions

View File

@@ -50,4 +50,8 @@ class Admin::Poll::Questions::AnswersController < Admin::Poll::BaseController
@answer = ::Poll::Question::Answer.find(params[:id] || params[:answer_id]) @answer = ::Poll::Question::Answer.find(params[:id] || params[:answer_id])
end end
def load_question
@question = ::Poll::Question.find(params[:question_id])
end
end end

View File

@@ -587,9 +587,6 @@ en:
new: new:
title: "Create Question" title: "Create Question"
poll_label: "Poll" poll_label: "Poll"
form:
title: Title
description: Description
answers: answers:
images: images:
add_image: "Add image" add_image: "Add image"

View File

@@ -587,9 +587,6 @@ es:
new: new:
title: "Crear pregunta ciudadana" title: "Crear pregunta ciudadana"
poll_label: "Votación" poll_label: "Votación"
form:
title: Título
description: Descripción
answers: answers:
images: images:
add_image: "Añadir imagen" add_image: "Añadir imagen"