OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caef9ed
)
Don't instantiate Resque::Server in routes
author
Robert Speicher
<rspeicher@gmail.com>
Sun, 16 Sep 2012 08:05:13 +0000
(
04:05
-0400)
committer
Robert Speicher
<rspeicher@gmail.com>
Sun, 16 Sep 2012 11:38:14 +0000
(07:38 -0400)
It still works, and it cleans up the output of `rake routes`.
config/routes.rb
patch
|
blob
|
history
diff --git
a/config/routes.rb
b/config/routes.rb
index
84a0c6a
..
858111f
100644
(file)
--- 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({