From c813a6143b822534944a3651364bf6959c8439b4 Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" Date: Tue, 18 Sep 2012 17:31:51 +0800 Subject: [PATCH] fb share for iNCCU --- .../panel/announcement/front_end/bulletins/index.rss.builder | 1 + .../views/panel/news/front_end/news_bulletins/index.rss.builder | 1 + 2 files changed, 2 insertions(+) diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/index.rss.builder b/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/index.rss.builder index 7f7a46c8..ca4719c6 100644 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/index.rss.builder +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/index.rss.builder @@ -14,6 +14,7 @@ xml.rss :version => "2.0" do xml.pubDate bulletin.postdate.to_s(:rfc822) xml.link url_for(:action=>"show", :controller=>"panel/announcement/front_end/bulletins", :id=>bulletin ,:only_path=>false) xml.guid url_for(:action=>"show", :controller=>"panel/announcement/front_end/bulletins", :id=>bulletin ,:only_path=>false) + xml.fb_share generate_fb_url(bulletin, "announcement") end end end diff --git a/vendor/built_in_modules/news/app/views/panel/news/front_end/news_bulletins/index.rss.builder b/vendor/built_in_modules/news/app/views/panel/news/front_end/news_bulletins/index.rss.builder index 05326da5..be9e1304 100644 --- a/vendor/built_in_modules/news/app/views/panel/news/front_end/news_bulletins/index.rss.builder +++ b/vendor/built_in_modules/news/app/views/panel/news/front_end/news_bulletins/index.rss.builder @@ -15,6 +15,7 @@ xml.rss :version => "2.0" do xml.pubDate news_bulletin.postdate.to_s(:rfc822) xml.link url_for(:action=>"show", :controller=>"panel/news/front_end/news_bulletins", :id=>news_bulletin ,:only_path=>false) xml.guid url_for(:action=>"show", :controller=>"panel/news/front_end/news_bulletins", :id=>news_bulletin ,:only_path=>false) + xml.fb_share generate_fb_url(news_bulletin, "news") end end end