|
|
|
@ -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
|
|
|
|
|