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 338511b4dc1..1102ef6b017 100644 --- a/config/routes/instance_statistics.rb +++ b/config/routes/instance_statistics.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true 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