Don't instantiate Resque::Server in routes
It still works, and it cleans up the output of `rake routes`.
This commit is contained in:
parent
caef9ed112
commit
4f4c401f77
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue