fix for dashboard
This commit is contained in:
@@ -2,6 +2,7 @@ module Moderator
|
||||
module Post
|
||||
class DashboardsController < 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])
|
||||
|
||||
Reference in New Issue
Block a user