diff --git a/app/controllers/admin/dashboards_controller.rb b/app/controllers/admin/dashboards_controller.rb
new file mode 100644
index 0000000..27cc1fc
--- /dev/null
+++ b/app/controllers/admin/dashboards_controller.rb
@@ -0,0 +1,4 @@
+class Admin::DashboardsController < ApplicationController
+ def show
+ end
+end
diff --git a/app/helpers/admin/dashboards_helper.rb b/app/helpers/admin/dashboards_helper.rb
new file mode 100644
index 0000000..a2644f3
--- /dev/null
+++ b/app/helpers/admin/dashboards_helper.rb
@@ -0,0 +1,2 @@
+module Admin::DashboardsHelper
+end
diff --git a/app/views/admin/dashboards/show.html.erb b/app/views/admin/dashboards/show.html.erb
new file mode 100644
index 0000000..36578dc
--- /dev/null
+++ b/app/views/admin/dashboards/show.html.erb
@@ -0,0 +1,4 @@
+
+
Admin::Dashboards#show
+
Find me in app/views/admin/dashboards/show.html.erb
+
diff --git a/config/routes.rb b/config/routes.rb
index cc0a6ba..13e9b12 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -17,9 +17,9 @@ Rails.application.routes.draw do
end
resource :profile, only: [ :show, :edit, :destroy ]
namespace :admin do
- resource :users
- resource :jobs
- resource :dashboard
+ resources :users
+ resources :jobs
+ resource :dashboard, only: [ :show ]
end
namespace :operator do
resources :jobs do
diff --git a/test/controllers/admin/dashboard_controller_test.rb b/test/controllers/admin/dashboard_controller_test.rb
new file mode 100644
index 0000000..4250612
--- /dev/null
+++ b/test/controllers/admin/dashboard_controller_test.rb
@@ -0,0 +1,8 @@
+require "test_helper"
+
+class Admin::DashboardControllerTest < ActionDispatch::IntegrationTest
+ test "should get index" do
+ get admin_dashboard_index_url
+ assert_response :success
+ end
+end