From e945476c8d4bdeb9a4610f9d7cdf82642e749b75 Mon Sep 17 00:00:00 2001
From: Hiro Asari <asari.ruby@gmail.com>
Date: Mon, 11 Nov 2013 11:42:48 -0500
Subject: [PATCH] Prefer JSON to Atom feed

We should not break the current behavior when the client sends
`Accept: */*` HTTP header.
---
 lib/travis/api/app/helpers/respond_with.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/travis/api/app/helpers/respond_with.rb b/lib/travis/api/app/helpers/respond_with.rb
index da21832d..611f789f 100644
--- a/lib/travis/api/app/helpers/respond_with.rb
+++ b/lib/travis/api/app/helpers/respond_with.rb
@@ -49,7 +49,7 @@ class Travis::Api::App
         end
 
         def responders(resource, options)
-          [:Atom, :Json, :Image, :Xml, :Plain].map do |name|
+          [:Json, :Atom, :Image, :Xml, :Plain].map do |name|
             Responders.const_get(name)
           end
         end