From 34205cd6bf1efeb6556f1dc4c531fe61049b4427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20de=20Villamil?= Date: Tue, 24 Sep 2013 00:55:23 +0200 Subject: [PATCH] Fixes comment creation from within the admin. Maybe this should move to admin/content since it's more content? Solves #252. --- app/views/admin/feedback/article.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/admin/feedback/article.html.erb b/app/views/admin/feedback/article.html.erb index 62b33ede4e..8618eb7b6c 100644 --- a/app/views/admin/feedback/article.html.erb +++ b/app/views/admin/feedback/article.html.erb @@ -27,6 +27,7 @@ <%end%> <%= form_tag :action => "create" do %> +<%= hidden_field_tag('article_id', @article.id) %>
<%= _("Add a comment")%>