aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index cc3896da9..b9e318f91 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,6 +1,8 @@
require 'sidekiq/web'
ChouetteIhm::Application.routes.draw do
+ resource :dashboard
+
resources :workbenches, only: [:show, :index] do
delete :referentials, on: :member, action: :delete_referentials
resources :imports do
@@ -216,7 +218,7 @@ ChouetteIhm::Application.routes.draw do
end
end
- root :to => "workbenches#index"
+ root :to => "dashboards#show"
get '/help/(*slug)' => 'help#show'