summaryrefslogtreecommitdiff
path: root/config/routes/instance_statistics.rb
diff options
context:
space:
mode:
authorLuke Bennett <lukeeeebennettplus@gmail.com>2018-07-18 01:37:58 +0100
committerBob Van Landuyt <bob@vanlanduyt.co>2018-07-27 15:54:26 +0200
commit602a1c34e33d75940c7acbf4a31a65e187dbbfde (patch)
tree580e136cf3a00cd15ade56447928ece7ad127f2c /config/routes/instance_statistics.rb
parented81ee9ba2b5a0b68996ccb238bfa4c69a6df062 (diff)
downloadgitlab-ce-602a1c34e33d75940c7acbf4a31a65e187dbbfde.tar.gz
Create instance_statistics namespace and move convdev index and cohorts to it
Diffstat (limited to 'config/routes/instance_statistics.rb')
-rw-r--r--config/routes/instance_statistics.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/routes/instance_statistics.rb b/config/routes/instance_statistics.rb
new file mode 100644
index 00000000000..338511b4dc1
--- /dev/null
+++ b/config/routes/instance_statistics.rb
@@ -0,0 +1,8 @@
+# frozen_string_literal: true
+
+namespace :instance_statistics do
+ root to: redirect("instance_statistics/conversational_development_index")
+
+ resources :cohorts, only: :index
+ resources :conversational_development_index, only: :index
+end