add front-end announcement feed controller(testing)
This commit is contained in:
parent
d1fd2b6984
commit
b68a413574
|
@ -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
|
Loading…
Reference in New Issue