fb share for iNCCU

This commit is contained in:
Matthew K. Fu JuYuan 2012-09-18 17:31:51 +08:00
parent 6da3928626
commit c813a6143b
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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