diff --git a/config/routes.rb b/config/routes.rb index 392da90..69e1666 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