fb share for iNCCU
This commit is contained in:
parent
6da3928626
commit
c813a6143b
|
@ -14,6 +14,7 @@ xml.rss :version => "2.0" do
|
||||||
xml.pubDate bulletin.postdate.to_s(:rfc822)
|
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.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.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
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -15,6 +15,7 @@ xml.rss :version => "2.0" do
|
||||||
xml.pubDate news_bulletin.postdate.to_s(:rfc822)
|
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.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.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
|
end
|
||||||
end
|
end
|
||||||
|
|
Reference in New Issue