Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10676 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9b702971bf
commit
e7dfc30c2f
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue