crawler update

This commit is contained in:
Andreas Stephanides
2015-05-04 13:41:07 +02:00
parent a2491ee84d
commit e16762fdd0
2 changed files with 4 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ class CrawlerController < ApplicationController
def index
authorize! :doadmin, User
@crawlobjs=Crawlobject.where(:objtype=>5)
@crawlobjs=Crawlobject.where(:objtype=>5).order(:published_at).reverse_order
end
def load_attachments
authorize! :doadmin, User