##// END OF EJS Templates
Missing argument to new_project_query_path named route (#10254)....
Jean-Philippe Lang -
r8772:4c090e869ea3
parent child
Show More
@@ -45,7 +45,7
45 45 <%= link_to l(:button_clear), { :set_filter => 1, :project_id => @project }, :class => 'icon icon-reload' %>
46 46 <% if @query.new_record? && User.current.allowed_to?(:save_queries, @project, :global => true) %>
47 47 <%= link_to_function l(:button_save),
48 "$('query_form').action='#{ @project ? new_project_query_path : new_query_path }'; submit_query_form('query_form')",
48 "$('query_form').action='#{ @project ? new_project_query_path(@project) : new_query_path }'; submit_query_form('query_form')",
49 49 :class => 'icon icon-save' %>
50 50 <% end %>
51 51 </p>
General Comments 0
You need to be logged in to leave comments. Login now