diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-10-18 17:15:26 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-10-18 17:15:26 +0000 |
commit | e7dfc30c2f257313a001d7d0e5e30388bca05a9c (patch) | |
tree | d4ec359de1db1abb097794946440c1c93db09c48 /app/helpers | |
parent | 9b702971bf4c4c7b725949dfe43826354324be27 (diff) | |
download | redmine-e7dfc30c2f257313a001d7d0e5e30388bca05a9c.tar.gz redmine-e7dfc30c2f257313a001d7d0e5e30388bca05a9c.zip |
Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10676 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/application_helper.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index c4b581255..306067157 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -142,8 +142,7 @@ module ApplicationHelper if project.archived? h(project) else - url = {:controller => 'projects', :action => 'show', :id => project}.merge(options) - link_to(h(project), url, html_options) + link_to project.name, project_path(project, options), html_options end end |