modify oauth route

competitions
p31729568 5 years ago
parent 01ed0250d4
commit 6d2fe59708

@ -7,9 +7,6 @@ Rails.application.routes.draw do
get 'attachments/download/:id', to: 'attachments#show'
get 'attachments/download/:id/:filename', to: 'attachments#show'
get '/auth/qq/callback', to: 'oauth/qq#create'
get '/auth/wechat/callback', to: 'oauth/wechat#create'
resources :edu_settings
scope '/api' do
get 'home/index'
@ -828,6 +825,9 @@ Rails.application.routes.draw do
end
resource :template, only: [:show]
resource :setting, only: [:show]
get '/auth/qq/callback', to: 'oauth/qq#create'
get '/auth/wechat/callback', to: 'oauth/wechat#create'
resource :bind_user, only: [:create]
end

Loading…
Cancel
Save