* Renamed moderator/post/dashboard to moderator/post/queue
* Fixed bug with more overlay links being out of place if news listing is closed
This commit is contained in:
14
app/controllers/moderator/post/queues_controller.rb
Normal file
14
app/controllers/moderator/post/queues_controller.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
Reference in New Issue
Block a user