fixes specs
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user