Commit 0de5d08e371923871d75fbdc68732c2402006c91
1 parent
ed954eba
Exists in
master
and in
4 other branches
Give Resque route a name and use that for the iframe src
Closes #1350
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/admin/resque/show.html.haml
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' | 13 | + mount Resque::Server.new, at: '/info/resque', as: 'resque' |
| 14 | 14 | ||
| 15 | # Enable Grack support | 15 | # Enable Grack support |
| 16 | mount Grack::Bundle.new({ | 16 | mount Grack::Bundle.new({ |