From 1aefcc8aa6dde882342fb83fb965740efcdb797e Mon Sep 17 00:00:00 2001 From: Till Breuer Date: Tue, 25 Mar 2014 14:46:34 +0100 Subject: [PATCH] Move gon include --- app/views/work_packages/_list.html.erb | 1 - app/views/work_packages/index.html.erb | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/work_packages/_list.html.erb b/app/views/work_packages/_list.html.erb index a0c4131309..947c837764 100644 --- a/app/views/work_packages/_list.html.erb +++ b/app/views/work_packages/_list.html.erb @@ -26,7 +26,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. See doc/COPYRIGHT.rdoc for more details. ++#%> -<%= include_gon %> <%= form_tag({}) do -%> <%= hidden_field_tag 'back_url', url_for(params) %> diff --git a/app/views/work_packages/index.html.erb b/app/views/work_packages/index.html.erb index 809c9aeca5..0575719e90 100644 --- a/app/views/work_packages/index.html.erb +++ b/app/views/work_packages/index.html.erb @@ -27,6 +27,9 @@ See doc/COPYRIGHT.rdoc for more details. ++#%> +<%= include_gon %> + + <% breadcrumb_paths(l(:label_work_package_plural)) %> <% if !query.new_record? && query.editable_by?(User.current) %> <% content_for :action_menu_specific do %>