spec/example_rails_app/config/routes.rb in omniauth-aai-0.4 vs spec/example_rails_app/config/routes.rb in omniauth-aai-0.5
- old
+ new
@@ -1,11 +1,7 @@
-TestApp::Application.routes.draw do
+TestApp1::Application.routes.draw do
get "welcome/index"
- get "welcome/other_protected"
-
- match '/auth/:provider/callback', to: 'session#create', as: "auth_callback"
- match '/auth/failure', to: 'session#failure', as: "auth_failure"
- match '/auth/logout', to: 'session#destroy', as: "logout"
+ get "welcome/protected"
root :to => 'welcome#index'
end