diff --git a/app/controllers/admin/dashboards_controller.rb b/app/controllers/admin/dashboards_controller.rb deleted file mode 100644 index c6ec0a31a..000000000 --- a/app/controllers/admin/dashboards_controller.rb +++ /dev/null @@ -1,7 +0,0 @@ -module Admin - class DashboardsController < ApplicationController - def show - @dashboard = AdminDashboard.new - end - end -end diff --git a/app/logical/admin_dashboard.rb b/app/logical/admin_dashboard.rb deleted file mode 100644 index b15b039ff..000000000 --- a/app/logical/admin_dashboard.rb +++ /dev/null @@ -1,17 +0,0 @@ -class AdminDashboard - def tag_aliases - TagAlias.where(status: "pending").order("id desc") - end - - def tag_implications - TagImplication.where(status: "pending").order("id desc") - end - - def update_requests - BulkUpdateRequest.where(status: "pending").order("id desc") - end - - def forum_topics - ForumTopic.search(category_id: 1).order("id desc").limit(20) - end -end diff --git a/app/views/admin/dashboards/_aliases.html.erb b/app/views/admin/dashboards/_aliases.html.erb deleted file mode 100644 index e69de29bb..000000000 diff --git a/app/views/admin/dashboards/show.html.erb b/app/views/admin/dashboards/show.html.erb deleted file mode 100644 index 682cc1f03..000000000 --- a/app/views/admin/dashboards/show.html.erb +++ /dev/null @@ -1,27 +0,0 @@ -<% page_title "Admin Dashboard" %> - -