summaryrefslogtreecommitdiffstats
path: root/app/views/layouts/base.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-24 18:38:45 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-24 18:38:45 +0000
commit650888c73b734dc9e7bf9ce4a20cb05de68c45a1 (patch)
tree05ff46d3f804c1699fb099184c90e7413ddbf03d /app/views/layouts/base.rhtml
parent042ef42da0efb38b224a045cd6d03649b979a494 (diff)
downloadredmine-650888c73b734dc9e7bf9ce4a20cb05de68c45a1.tar.gz
redmine-650888c73b734dc9e7bf9ce4a20cb05de68c45a1.zip
Added a named route for the home page.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@760 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/layouts/base.rhtml')
-rw-r--r--app/views/layouts/base.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml
index 12265d7ce..9bab2f6d9 100644
--- a/app/views/layouts/base.rhtml
+++ b/app/views/layouts/base.rhtml
@@ -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? %>