diff options
author | Luke Bennett <lukeeeebennettplus@gmail.com> | 2018-07-23 16:29:54 +0300 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-07-26 20:00:56 +0300 |
commit | 626d5caf0fb4fe242c24dda294457479eebe6c16 (patch) | |
tree | fd80110873bd3a149de82f5deddd9d9141db2f93 /config | |
parent | 4090362ed34b459cd8ace3db8b98bc01877fe07a (diff) |
Scope instance_statistics to dash
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 3 | ||||
-rw-r--r-- | config/routes/instance_statistics.rb | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 17b969f669d..63e40a31b76 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -70,6 +70,8 @@ Rails.application.routes.draw do get 'ide' => 'ide#index' get 'ide/*vueroute' => 'ide#index', format: false + + draw :instance_statistics end # Koding route @@ -110,7 +112,6 @@ Rails.application.routes.draw do draw :group draw :user draw :project - draw :instance_statistics root to: "root#index" diff --git a/config/routes/instance_statistics.rb b/config/routes/instance_statistics.rb index 365797cb688..725549beb7e 100644 --- a/config/routes/instance_statistics.rb +++ b/config/routes/instance_statistics.rb @@ -1,5 +1,5 @@ namespace :instance_statistics do - root to: redirect("instance_statistics/conversational_development_index") + root to: redirect('-/instance_statistics/conversational_development_index') resources :cohorts, only: :index resources :conversational_development_index, only: :index |