summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-16 21:01:48 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-16 21:01:48 +0000
commit4c090e869ea3248df17264edcc6d9a1e42ffd707 (patch)
tree35488fd7874055e10c94d499763156fb39938c75 /app/views
parentd4e6355eb3f220787e9374eeef6fb496f213f0d1 (diff)
downloadredmine-4c090e869ea3248df17264edcc6d9a1e42ffd707.tar.gz
redmine-4c090e869ea3248df17264edcc6d9a1e42ffd707.zip
Missing argument to new_project_query_path named route (#10254).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8892 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/issues/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb
index 22ca590de..e3e256dee 100644
--- a/app/views/issues/index.html.erb
+++ b/app/views/issues/index.html.erb
@@ -45,7 +45,7 @@
<%= link_to l(:button_clear), { :set_filter => 1, :project_id => @project }, :class => 'icon icon-reload' %>
<% if @query.new_record? && User.current.allowed_to?(:save_queries, @project, :global => true) %>
<%= link_to_function l(:button_save),
- "$('query_form').action='#{ @project ? new_project_query_path : new_query_path }'; submit_query_form('query_form')",
+ "$('query_form').action='#{ @project ? new_project_query_path(@project) : new_query_path }'; submit_query_form('query_form')",
:class => 'icon icon-save' %>
<% end %>
</p>