lib/resque/server.rb in resque-1.11.0 vs lib/resque/server.rb in resque-1.12.0

- old
+ new

@@ -145,11 +145,11 @@ redirect u('queues') end %w( overview workers ).each do |page| get "/#{page}.poll" do - content_type "text/plain" + content_type "text/html" @polling = true show(page.to_sym, false).gsub(/\s{1,}/, ' ') end end @@ -199,10 +199,10 @@ Resque.queues.each do |queue| stats << "queues.#{queue}=#{Resque.size(queue)}" end - content_type 'text/plain' + content_type 'text/html' stats.join "\n" end def resque Resque