move jupyter api to api path

chromesetting
guange 5 years ago
parent 460c2f8a53
commit fe582ff165

@ -9,14 +9,6 @@ Rails.application.routes.draw do
get 'auth/qq/callback', to: 'oauth/qq#create'
get 'auth/failure', to: 'oauth/base#auth_failure'
resources :jupyters do
collection do
get :save_with_tpi
get :save_with_tpm
get :get_info_with_tpi
get :get_info_with_tpm
end
end
resources :edu_settings
@ -33,6 +25,15 @@ Rails.application.routes.draw do
put 'commons/unhidden', to: 'commons#unhidden'
delete 'commons/delete', to: 'commons#delete'
resources :jupyters do
collection do
get :save_with_tpi
get :save_with_tpm
get :get_info_with_tpi
get :get_info_with_tpm
end
end
resources :memos do
member do
post :sticky_or_cancel

Loading…
Cancel
Save