From ce47109d3396b9995779dd70cfb4c4db564be010 Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" Date: Tue, 18 Sep 2012 12:04:45 +0800 Subject: [PATCH] change link for rss --- .../panel/announcement/front_end/bulletins/show.rss.builder | 2 +- .../panel/news/front_end/news_bulletins/show.rss.builder | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/show.rss.builder b/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/show.rss.builder index f1853cba..c4ddacfa 100644 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/show.rss.builder +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/show.rss.builder @@ -12,7 +12,7 @@ xml.rss :version => "2.0" do xml.description @bulletin.text xml.pubDate @bulletin.postdate.to_s(:rfc822) xml.link url_for(:action=>"show", :controller=>"panel/announcement/front_end/bulletins", :id=>@bulletin ,:format=> :rss,:only_path=>false,:inner=>true) - xml.guid url_for(:action=>"show", :controller=>"panel/announcement/front_end/bulletins", :id=>@bulletin ,:format=> :rss,:only_path=>false,:inner=>true) + xml.guid url_for(:action=>"show", :controller=>"panel/announcement/front_end/bulletins", :id=>@bulletin ,:only_path=>false) end # end end diff --git a/vendor/built_in_modules/news/app/views/panel/news/front_end/news_bulletins/show.rss.builder b/vendor/built_in_modules/news/app/views/panel/news/front_end/news_bulletins/show.rss.builder index 58681031..33b77f41 100644 --- a/vendor/built_in_modules/news/app/views/panel/news/front_end/news_bulletins/show.rss.builder +++ b/vendor/built_in_modules/news/app/views/panel/news/front_end/news_bulletins/show.rss.builder @@ -13,8 +13,8 @@ xml.rss :version => "2.0" do xml.title @news_bulletin.title xml.description @news_bulletin.text xml.pubDate @news_bulletin.postdate.to_s(:rfc822) - xml.link url_for(:action=>"show", :controller=>"panel/news/front_end/news_bulletins", :id=>news_bulletin ,:format=> :rss,:only_path=>false,:inner=>true) - xml.guid url_for(:action=>"show", :controller=>"panel/news/front_end/news_bulletins", :id=>news_bulletin ,:format=> :rss,:only_path=>false,:inner=>true) + xml.link url_for(:action=>"show", :controller=>"panel/news/front_end/news_bulletins", :id=>@news_bulletin ,:format=> :rss,:only_path=>false,:inner=>true) + xml.guid url_for(:action=>"show", :controller=>"panel/news/front_end/news_bulletins", :id=>@news_bulletin ,:only_path=>false) end # end end