diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index efe16f31d..7f70f6255 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -100,7 +100,7 @@ module IssuesHelper :tracker_id => issue.tracker, :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 class IssueFieldsRows