From 7db9a4e5f02f82d5a892c787f351d7cee3dd3a03 Mon Sep 17 00:00:00 2001 From: Mike Ihbe Date: Tue, 17 Sep 2013 12:46:49 -0700 Subject: [PATCH] Fix routes for rails 4 --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 392da90..1742e56 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -2,6 +2,6 @@ root :to => "authorizations#new" resources :authorizations, :only => :create - match 'authorize' => 'authorizations#new' + match 'authorize' => 'authorizations#new', :via => [:get, :post] resource :token, :only => :create end