Permalink
Browse files

use explicit http method for rails 4 compatibility

  • Loading branch information...
1 parent 4aa7227 commit 56980b8f4b4daee58df911ba6a9829e74b6d64aa @phlipper committed Apr 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/routes.rb
View
2 config/routes.rb
@@ -1,5 +1,5 @@
Thincloud::Authentication::Engine.routes.draw do
- match ":provider/callback" => "registrations#create", as: "auth_callback"
+ post ":provider/callback", to: "registrations#create", as: "auth_callback"
get "failure", to: "sessions#new", as: "auth_failure"
get "login", to: "sessions#new", as: "login"

0 comments on commit 56980b8

Please sign in to comment.