fixing tests
This commit is contained in:
9
app/controllers/moderator/dashboards_controller.rb
Normal file
9
app/controllers/moderator/dashboards_controller.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
module Moderator
|
||||
class DashboardsController < ApplicationController
|
||||
before_filter :janitor_only
|
||||
|
||||
def show
|
||||
@dashboard = ModeratorDashboard.new(params[:min_date] || 2.days.ago.to_date, params[:max_level] || 20)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user