Files
danbooru/app/controllers/moderator/post/queues_controller.rb
albert a536a2699b * Renamed moderator/post/dashboard to moderator/post/queue
* Fixed bug with more overlay links being out of place if news listing is closed
2011-10-26 18:00:48 -04:00

15 lines
396 B
Ruby

module Moderator
module Post
class QueuesController < ApplicationController
respond_to :html, :json
before_filter :janitor_only
def show
@search = ::Post.order("id asc").pending_or_flagged.available_for_moderation.search(:tag_match => params[:query])
@posts = @search.paginate(params[:page])
respond_with(@posts)
end
end
end
end