diff options
author | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2010-08-08 07:07:20 +0000 |
---|---|---|
committer | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2010-08-08 07:07:20 +0000 |
commit | a1b607480abc6649f9531b1fd8a7d20c3c656084 (patch) | |
tree | c23e04bd9922308d8c00f9e3962a02bdcb120248 /app/views/welcome | |
parent | 5b64f0ff969db3f0a99c1c780ab03d842da6b59d (diff) | |
download | redmine-a1b607480abc6649f9531b1fd8a7d20c3c656084.tar.gz redmine-a1b607480abc6649f9531b1fd8a7d20c3c656084.zip |
Refactor: added link_to_project helper to handle links to projects
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3924 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/welcome')
-rw-r--r-- | app/views/welcome/index.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/welcome/index.rhtml b/app/views/welcome/index.rhtml index a0ada7cce..6ac09c153 100644 --- a/app/views/welcome/index.rhtml +++ b/app/views/welcome/index.rhtml @@ -20,7 +20,7 @@ <% for project in @projects %> <% @project = project %> <li> - <%= link_to h(project.name), :controller => 'projects', :action => 'show', :id => project %> (<%= format_time(project.created_on) %>) + <%= link_to_project project %> (<%= format_time(project.created_on) %>) <%= textilizable project.short_description, :project => project %> </li> <% end %> |