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