app/controllers/feeder/feeds_controller.rb in feeder-0.2.0 vs app/controllers/feeder/feeds_controller.rb in feeder-0.3.0
- old
+ new
@@ -1,9 +1,9 @@
require_dependency "feeder/application_controller"
module Feeder
class FeedsController < ApplicationController
def index
- @items = Item.order published_at: :desc
+ @items = Item.order Feeder.config.sort_order
end
end
end