add front-end announcement feed controller(testing)

This commit is contained in:
thomaschen 2013-11-08 12:20:55 +08:00
parent d1fd2b6984
commit b68a413574
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
class Panel::Announcement::FrontEnd::BulletinFeedsController < OrbitWidgetController
def rss
@bulletin = Bulletin.all(:order => 'created_at DESC', :limit => 50)
respond_to do |format|
format.rss { render :layout => false }
end
end
end