dev_bj
cxt 5 years ago
parent dec81d01bc
commit 8b89c6feb8

@ -26,7 +26,7 @@
# Example: :via => :get ====> :via => :get
RedmineApp::Application.routes.draw do ## oauth相关
# zhushi
match 'oauth', to: 'oauth#index'
match 'oauth/authorize', to: 'oauth#authorize', :via => [:get, :post]
match 'oauth/token', to: 'oauth#token', :via => :post

Loading…
Cancel
Save