config/routes.rb in vidibus-oauth2_server-0.0.0 vs config/routes.rb in vidibus-oauth2_server-0.0.1
- old
+ new
@@ -1,4 +1,5 @@
Rails.application.routes.draw do
- match "oauth/authorize" => "oauth2#authorize", :via => :get
- match "oauth/access_token" => "oauth2#access_token", :via => :post
+ get "/oauth/authorize" => "oauth2/authentication#authorize"
+ post "/oauth/access_token" => "oauth2/authentication#access_token"
+ get "/oauth/user" => "oauth2/users#show"
end