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