implemented moderator dashboard queue
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
module Moderator
|
||||
class DashboardsController < ApplicationController
|
||||
before_filter :janitor_only
|
||||
helper :post_flags, :post_appeals
|
||||
|
||||
def show
|
||||
@dashboard = ModeratorDashboard.new(params[:min_date] || 2.days.ago.to_date, params[:max_level] || 20)
|
||||
@dashboard = Moderator::Dashboard::Report.new(params[:min_date] || 2.days.ago.to_date, params[:max_level] || 20)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user