summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-09-16 04:05:13 -0400
committerRobert Speicher <rspeicher@gmail.com>2012-09-16 07:38:14 -0400
commit4f4c401f77522c27df7afdc25eeef39de76e241b (patch)
tree1eea24f5e9449e0f025f5df3ff305a8f9b09f755 /config/routes.rb
parentcaef9ed1121a16ca0cc78715695daaa974271bfd (diff)
downloadgitlab-ce-4f4c401f77522c27df7afdc25eeef39de76e241b.tar.gz
Don't instantiate Resque::Server in routes
It still works, and it cleans up the output of `rake routes`.
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 84a0c6ab170..858111f2ade 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -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({