From a635f7d916d4365915902d061bc557aeb2a24dd1 Mon Sep 17 00:00:00 2001 From: Mathias Meyer Date: Wed, 19 Mar 2014 15:01:23 +0100 Subject: [PATCH] Add Badge to available responders. --- 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 0fb9c751..55d38ed7 100644 --- a/lib/travis/api/app/helpers/respond_with.rb +++ b/lib/travis/api/app/helpers/respond_with.rb @@ -55,7 +55,7 @@ class Travis::Api::App end def responders(resource, options) - [:Json, :Atom, :Image, :Xml, :Plain].map do |name| + [:Json, :Atom, :Image, :Xml, :Plain, :Badge].map do |name| Responders.const_get(name) end end