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
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ Gitlab::Application.routes.draw do
|
||||||
|
|
||||||
# Optionally, enable Resque here
|
# Optionally, enable Resque here
|
||||||
require 'resque/server'
|
require 'resque/server'
|
||||||
mount Resque::Server.new, at: '/info/resque', as: 'resque'
|
mount Resque::Server => '/info/resque', as: 'resque'
|
||||||
|
|
||||||
# Enable Grack support
|
# Enable Grack support
|
||||||
mount Grack::Bundle.new({
|
mount Grack::Bundle.new({
|
||||||
|
|
Loading…
Add table
Reference in a new issue