diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-10-17 17:01:07 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-10-17 17:01:07 +0000 |
commit | fcb22595d0e87a2d04fb0210c775efdab6cfffa6 (patch) | |
tree | 74f384b85b21c4509396de77e24a4bc827981097 | |
parent | ef1f14905b71030236fb905398d7926bc196f3e8 (diff) | |
download | redmine-fcb22595d0e87a2d04fb0210c775efdab6cfffa6.tar.gz redmine-fcb22595d0e87a2d04fb0210c775efdab6cfffa6.zip |
Use named route (#12113).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10663 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/helpers/issues_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |