test/dummy/config/application.rb in devise_token_auth-0.1.6 vs test/dummy/config/application.rb in devise_token_auth-0.1.7

- old
+ new

@@ -22,11 +22,11 @@ # allow cross origin requests config.middleware.use Rack::Cors do allow do origins '*' - resource '*', - :headers => :any, + resource '*', + :headers => :any, :expose => ['Authorization'], :methods => [:get, :post, :options, :delete, :put] end end end