路由问题

dev_jupyter
jingquan huang 5 years ago
parent 0b0241727e
commit 0ecc37dbf1

@ -1463,9 +1463,9 @@ Rails.application.routes.draw do
get 'oauth/get_code', to: 'oauth#get_code' get 'oauth/get_code', to: 'oauth#get_code'
get 'oauth/get_token_callback', to: 'oauth#get_token_callback' get 'oauth/get_token_callback', to: 'oauth#get_token_callback'
root 'main#index' # root 'main#index'
## react用 ## react用
get '*path', to: 'main#index', constraints: ReactConstraint.new # get '*path', to: 'main#index', constraints: ReactConstraint.new
end end

Loading…
Cancel
Save