Commit 0de5d08e371923871d75fbdc68732c2402006c91

Authored by Robert Speicher
1 parent ed954eba

Give Resque route a name and use that for the iframe src

Closes #1350
app/views/admin/resque/show.html.haml
1 1 %h3 Resque
2   -%iframe{src: "/info/resque", width: 1168, height: 600, style: "border: none"}
3 2 \ No newline at end of file
  3 +%iframe{src: resque_url, width: 1168, height: 600, style: "border: none"}
... ...
config/routes.rb
... ... @@ -10,7 +10,7 @@ Gitlab::Application.routes.draw do
10 10  
11 11 # Optionally, enable Resque here
12 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 15 # Enable Grack support
16 16 mount Grack::Bundle.new({
... ...