From 3ce98b6cdf00038706b3949e5d3b5267e33c0ed5 Mon Sep 17 00:00:00 2001 From: decabeza Date: Fri, 6 Oct 2017 02:09:01 +0200 Subject: [PATCH] fixes answer documents path on polls questions show --- app/views/admin/poll/questions/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/poll/questions/show.html.erb b/app/views/admin/poll/questions/show.html.erb index 0a89bf915..acb49b5e1 100644 --- a/app/views/admin/poll/questions/show.html.erb +++ b/app/views/admin/poll/questions/show.html.erb @@ -60,7 +60,7 @@ (<%= answer.documents.count rescue 0 %>)
<%= link_to t("admin.questions.show.answers.documents_list"), - admin_question_answer_documents_path(@question, answer) %> + admin_answer_documents_path(answer) %> <% end %>