diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-09-24 18:38:45 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-09-24 18:38:45 +0000 |
commit | 650888c73b734dc9e7bf9ce4a20cb05de68c45a1 (patch) | |
tree | 05ff46d3f804c1699fb099184c90e7413ddbf03d /app/views/layouts/base.rhtml | |
parent | 042ef42da0efb38b224a045cd6d03649b979a494 (diff) | |
download | redmine-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.rhtml | 2 |
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? %> |