Commit 4f4c401f authored by Robert Speicher's avatar Robert Speicher

Don't instantiate Resque::Server in routes

It still works, and it cleans up the output of `rake routes`.
parent caef9ed1
......@@ -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({
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment