Commit 1a611cf1 authored by Luke Bennett's avatar Luke Bennett Committed by Bob Van Landuyt

Scope instance_statistics to dash

parent 53c32717
...@@ -70,6 +70,8 @@ Rails.application.routes.draw do ...@@ -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 ...@@ -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"
......
# frozen_string_literal: true # frozen_string_literal: true
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment