Scope instance_statistics to dash

This commit is contained in:
Luke Bennett 2018-07-23 14:29:54 +01:00 committed by Bob Van Landuyt
parent 4090362ed3
commit 626d5caf0f
2 changed files with 3 additions and 2 deletions

View file

@ -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"

View file

@ -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