Class: ActualitiesController
- Inherits:
-
Forgeos::ApplicationController
- Object
- Forgeos::ApplicationController
- ActualitiesController
- Defined in:
- app/controllers/actualities_controller.rb
Instance Method Summary collapse
Instance Method Details
#rss ⇒ Object
3 4 5 6 7 8 9 |
# File 'app/controllers/actualities_controller.rb', line 3 def rss @actualities = Actuality.find_all_by_active(true, :limit => 20, :order => 'created_at DESC') @feed_title = 'Feed title' @feed_description = 'Feed description' @locale = 'fr-fr' response.headers['Content-Type'] = 'application/rss+xml' end |