Code cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10676 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-10-18 17:15:26 +00:00
parent 9b702971bf
commit e7dfc30c2f
1 changed files with 1 additions and 2 deletions

View File

@ -142,8 +142,7 @@ module ApplicationHelper
if project.archived? if project.archived?
h(project) h(project)
else else
url = {:controller => 'projects', :action => 'show', :id => project}.merge(options) link_to project.name, project_path(project, options), html_options
link_to(h(project), url, html_options)
end end
end end