app/controllers/ecm/news/items_controller.rb in ecm_news2-2.0.2 vs app/controllers/ecm/news/items_controller.rb in ecm_news2-2.0.3

- old
+ new

@@ -1,5 +1,5 @@ -class Ecm::News::ItemsController < Ecm::Pictures::Configuration.base_controller.constantize +class Ecm::News::ItemsController < Ecm::News::Configuration.base_controller.constantize def index @items = Ecm::News::Item.published.where(locale: I18n.locale.to_s).order('published_at DESC').page(params[:page]).per(5) end def show