Merge pull request #1351 from tsigo/nonrelative_resque
Give Resque route a name and use that for the iframe src
This commit is contained in:
commit
6997543ac2
2 changed files with 2 additions and 2 deletions
|
@ -1,2 +1,2 @@
|
||||||
%h3 Resque
|
%h3 Resque
|
||||||
%iframe{src: "/info/resque", width: 1168, height: 600, style: "border: none"}
|
%iframe{src: resque_url, width: 1168, height: 600, style: "border: none"}
|
||||||
|
|
|
@ -10,7 +10,7 @@ Gitlab::Application.routes.draw do
|
||||||
|
|
||||||
# Optionally, enable Resque here
|
# Optionally, enable Resque here
|
||||||
require 'resque/server'
|
require 'resque/server'
|
||||||
mount Resque::Server.new, at: '/info/resque'
|
mount Resque::Server.new, at: '/info/resque', as: 'resque'
|
||||||
|
|
||||||
# Enable Grack support
|
# Enable Grack support
|
||||||
mount Grack::Bundle.new({
|
mount Grack::Bundle.new({
|
||||||
|
|
Loading…
Reference in a new issue