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