|
|
|
@ -42,8 +42,6 @@ Rails.application.routes.draw do
|
|
|
|
|
member do
|
|
|
|
|
post :publish
|
|
|
|
|
get :start
|
|
|
|
|
get :code_debug
|
|
|
|
|
get :code_submit
|
|
|
|
|
get :result
|
|
|
|
|
match :listen_result, :via => [:get, :post]
|
|
|
|
|
end
|
|
|
|
@ -52,6 +50,8 @@ Rails.application.routes.draw do
|
|
|
|
|
resources :hack_user_lastest_codes, path: :myproblems, param: :identifier do
|
|
|
|
|
member do
|
|
|
|
|
post :update_code
|
|
|
|
|
get :code_debug
|
|
|
|
|
get :code_submit
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
end
|
|
|
|
|