diff --git a/app/views/issues/_relations.html.erb b/app/views/issues/_relations.html.erb index cb7e0e15e..108c9bbf1 100644 --- a/app/views/issues/_relations.html.erb +++ b/app/views/issues/_relations.html.erb @@ -10,22 +10,24 @@
@@ -33,7 +35,7 @@ <%= form_for @relation, { :as => :relation, :remote => true, - :url => {:controller => 'issue_relations', :action => 'create', :issue_id => @issue}, + :url => issue_relations_path(@issue), :method => :post, :html => {:id => 'new-relation-form', :style => (@relation ? '' : 'display: none;')} } do |f| %>