Use named route (#12113).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10663 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-10-17 17:01:07 +00:00
parent ef1f14905b
commit fcb22595d0
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ module IssuesHelper
:tracker_id => issue.tracker, :tracker_id => issue.tracker,
:parent_issue_id => issue :parent_issue_id => issue
} }
link_to(l(:button_add), {:controller => 'issues', :action => 'new', :project_id => issue.project, :issue => attrs}) link_to(l(:button_add), new_project_issue_path(issue.project, :issue => attrs))
end end
class IssueFieldsRows class IssueFieldsRows