Don't instantiate Resque::Server in routes

It still works, and it cleans up the output of `rake routes`.
This commit is contained in:
Robert Speicher 2012-09-16 04:05:13 -04:00
parent caef9ed112
commit 4f4c401f77

View file

@ -10,7 +10,7 @@ Gitlab::Application.routes.draw do
# Optionally, enable Resque here
require 'resque/server'
mount Resque::Server.new, at: '/info/resque', as: 'resque'
mount Resque::Server => '/info/resque', as: 'resque'
# Enable Grack support
mount Grack::Bundle.new({