summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-10-18 18:11:42 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-10-18 18:11:42 +0000
commit79c1ec7adc3c8fb8591466b04033a5cf4da735be (patch)
tree548ba417321c4f32099cb367974f84c60c27a5cc /app
parente7dfc30c2f257313a001d7d0e5e30388bca05a9c (diff)
downloadredmine-79c1ec7adc3c8fb8591466b04033a5cf4da735be.tar.gz
redmine-79c1ec7adc3c8fb8591466b04033a5cf4da735be.zip
Reverts r10676 that broke a test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10677 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/helpers/application_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 306067157..c4b581255 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -142,7 +142,8 @@ module ApplicationHelper
if project.archived?
h(project)
else
- link_to project.name, project_path(project, options), html_options
+ url = {:controller => 'projects', :action => 'show', :id => project}.merge(options)
+ link_to(h(project), url, html_options)
end
end