config/routes.rb in oauth_service-0.0.1 vs config/routes.rb in oauth_service-0.0.2
- old
+ new
@@ -1,6 +1,6 @@
require "oauth_service"
Rails.application.routes.draw do
get "#{OauthService.redirect_uri}/:provider_name", to: "#{OauthService.login_controller[0..-11].downcase}#oauth_callback"
- get "#{OauthService.redirect_uri}/logout", to: "#{OauthService.login_controller[0..-11].downcase}#logout"
+ get "#{OauthService.login_controller[0..-11].downcase}/logout", to: "#{OauthService.login_controller[0..-11].downcase}#logout"
end