* replaced :controller => '' broken statements by :controller => 'welcome'

* request_uri method no more used

git-svn-id: http://redmine.rubyforge.org/svn/trunk@175 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2007-01-25 18:27:42 +00:00
parent 2789b08dd0
commit 4e03668eec
4 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ xml.instruct!
xml.rss "version" => "2.0", "xmlns:dc" => "http://purl.org/dc/elements/1.1/" do
xml.channel do
xml.title "#{Setting.app_title}: #{l(:label_news_latest)}"
xml.link url_for(:controller => '', :only_path => false)
xml.link url_for(:controller => 'welcome', :only_path => false)
xml.pubDate CGI.rfc1123_date(@news.first.created_on)
xml.description l(:label_news_latest)
@news.each do |news|
+1 -1
View File
@@ -33,7 +33,7 @@
<div id="navigation">
<ul>
<li><%= link_to l(:label_home), { :controller => '' }, :class => "icon icon-home" %></li>
<li><%= link_to l(:label_home), { :controller => 'welcome' }, :class => "icon icon-home" %></li>
<li><%= link_to l(:label_my_page), { :controller => 'my', :action => 'page'}, :class => "icon icon-mypage" %></li>
<li><%= link_to l(:label_project_plural), { :controller => 'projects' }, :class => "icon icon-projects" %></li>