Commit 4f4c401f77522c27df7afdc25eeef39de76e241b
1 parent
caef9ed1
Exists in
master
and in
4 other branches
Don't instantiate Resque::Server in routes
It still works, and it cleans up the output of `rake routes`.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/routes.rb
@@ -10,7 +10,7 @@ Gitlab::Application.routes.draw do | @@ -10,7 +10,7 @@ Gitlab::Application.routes.draw do | ||
10 | 10 | ||
11 | # Optionally, enable Resque here | 11 | # Optionally, enable Resque here |
12 | require 'resque/server' | 12 | require 'resque/server' |
13 | - mount Resque::Server.new, at: '/info/resque', as: 'resque' | 13 | + mount Resque::Server => '/info/resque', as: 'resque' |
14 | 14 | ||
15 | # Enable Grack support | 15 | # Enable Grack support |
16 | mount Grack::Bundle.new({ | 16 | mount Grack::Bundle.new({ |