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
This commit is contained in:
parent
d4e6355eb3
commit
4c090e869e
|
@ -45,7 +45,7 @@
|
||||||
<%= link_to l(:button_clear), { :set_filter => 1, :project_id => @project }, :class => 'icon icon-reload' %>
|
<%= 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) %>
|
<% if @query.new_record? && User.current.allowed_to?(:save_queries, @project, :global => true) %>
|
||||||
<%= link_to_function l(:button_save),
|
<%= 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' %>
|
:class => 'icon icon-save' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue