diff --git a/config/routes.rb b/config/routes.rb index c8ce7945..af3f2a1f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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