Class: BcmsNews::NewsArticlesController
- Inherits:
-
Cms::ContentBlockController
- Object
- Cms::ContentBlockController
- BcmsNews::NewsArticlesController
- Defined in:
- app/controllers/bcms_news/news_articles_controller.rb
Instance Method Summary collapse
-
#feed ⇒ Object
Different method to avoid clashing with the backend content library for this.
Instance Method Details
#feed ⇒ Object
Different method to avoid clashing with the backend content library for this.
10 11 12 |
# File 'app/controllers/bcms_news/news_articles_controller.rb', line 10 def feed @articles = NewsArticle.released.all(:limit => 15, :order => "release_date desc") end |