* 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:
@@ -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|
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user