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
|
||||
|
||||
9
app/controllers/moderator/invitations_controller.rb
Normal file
9
app/controllers/moderator/invitations_controller.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
module Moderator
|
||||
class InvitationsController < ApplicationController
|
||||
def new
|
||||
end
|
||||
|
||||
def create
|
||||
end
|
||||
end
|
||||
end
|
||||
9
app/controllers/moderator/ip_addrs_controller.rb
Normal file
9
app/controllers/moderator/ip_addrs_controller.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
module Moderator
|
||||
class IpAddrsController < ApplicationController
|
||||
def index
|
||||
end
|
||||
|
||||
def search
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user