From d5446c54e064b7370e1695db1928927d026910c5 Mon Sep 17 00:00:00 2001 From: guange Date: Tue, 10 Dec 2019 15:56:56 +0800 Subject: [PATCH] . --- config/routes.rb | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index ec16d85fa..680fe674f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -9,8 +9,14 @@ Rails.application.routes.draw do get 'auth/qq/callback', to: 'oauth/qq#create' get 'auth/failure', to: 'oauth/base#auth_failure' - - get 'test_juypter', to: 'main#test_juypter' + resources :jupyters do + collection do + get :open + get :open1 + get :test + end + end + resources :edu_settings scope '/api' do @@ -38,6 +44,9 @@ Rails.application.routes.draw do end end + + + resources :hacks, path: :problems, param: :identifier do collection do get :unpulished_list