Added a named route for the home page.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@760 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2007-09-24 18:38:45 +00:00
1 parent 042ef42da0
commit 650888c73b
3 files changed
+8 -10

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@
<%= link_to(l(:label_register), :controller => 'account',:action => 'register') if Setting.self_registration? %>
<% end %>
</div>
<%= link_to l(:label_home), { :controller => 'welcome' } %>
<%= link_to l(:label_home), home_url %>
<%= link_to l(:label_my_page), { :controller => 'my', :action => 'page'} if User.current.logged? %>
<%= link_to l(:label_project_plural), { :controller => 'projects' } %>
<%= link_to l(:label_administration), { :controller => 'admin' } if User.current.admin? %>