change link for rss
This commit is contained in:
parent
0ecb4eca46
commit
ce47109d33
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue