|
|
@ -15,6 +15,7 @@ Rails.application.routes.draw do
|
|
|
|
scope '/api' do
|
|
|
|
scope '/api' do
|
|
|
|
get 'home/index'
|
|
|
|
get 'home/index'
|
|
|
|
get 'home/search'
|
|
|
|
get 'home/search'
|
|
|
|
|
|
|
|
get 'home#first_stamp'
|
|
|
|
|
|
|
|
|
|
|
|
get 'search', to: 'searchs#index'
|
|
|
|
get 'search', to: 'searchs#index'
|
|
|
|
|
|
|
|
|
|
|
@ -1335,7 +1336,7 @@ Rails.application.routes.draw do
|
|
|
|
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'
|
|
|
|
get 'main#first_stamp'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## react用
|
|
|
|
## react用
|
|
|
|
get '*path', to: 'main#index', constraints: ReactConstraint.new
|
|
|
|
get '*path', to: 'main#index', constraints: ReactConstraint.new
|
|
|
|