路由找不到

issues25489
daiao 6 years ago
parent d30abb8f62
commit 67ea90b1db

@ -513,7 +513,6 @@ Rails.application.routes.draw do
post :join_exercise_banks # 加入习题集 post :join_exercise_banks # 加入习题集
post :publish # 立即发布 post :publish # 立即发布
post :end_exercise # 立即截止 post :end_exercise # 立即截止
``
end end
end end
@ -875,6 +874,14 @@ Rails.application.routes.draw do
resources :searchs, only: [:index] resources :searchs, only: [:index]
end end
resources :trustie_hacks, path: :osshackathon do
collection do
get :edit_hackathon
post :update_hackathon
end
end
end end
namespace :admins do namespace :admins do
@ -1113,14 +1120,6 @@ Rails.application.routes.draw do
end end
end end
resources :trustie_hacks, path: :osshackathon do
collection do
get :edit_hackathon
post :update_hackathon
end
end
#git 认证回调 #git 认证回调
match 'gitauth/*url', to: 'gits#auth', via: :all match 'gitauth/*url', to: 'gits#auth', via: :all

Loading…
Cancel
Save