Scope instance_statistics to dash
This commit is contained in:
parent
4090362ed3
commit
626d5caf0f
2 changed files with 3 additions and 2 deletions
|
@ -70,6 +70,8 @@ Rails.application.routes.draw do
|
||||||
|
|
||||||
get 'ide' => 'ide#index'
|
get 'ide' => 'ide#index'
|
||||||
get 'ide/*vueroute' => 'ide#index', format: false
|
get 'ide/*vueroute' => 'ide#index', format: false
|
||||||
|
|
||||||
|
draw :instance_statistics
|
||||||
end
|
end
|
||||||
|
|
||||||
# Koding route
|
# Koding route
|
||||||
|
@ -110,7 +112,6 @@ Rails.application.routes.draw do
|
||||||
draw :group
|
draw :group
|
||||||
draw :user
|
draw :user
|
||||||
draw :project
|
draw :project
|
||||||
draw :instance_statistics
|
|
||||||
|
|
||||||
root to: "root#index"
|
root to: "root#index"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
namespace :instance_statistics do
|
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 :cohorts, only: :index
|
||||||
resources :conversational_development_index, only: :index
|
resources :conversational_development_index, only: :index
|
||||||
|
|
Loading…
Reference in a new issue