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
|
||||
%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
|
||||
require 'resque/server'
|
||||
mount Resque::Server.new, at: '/info/resque'
|
||||
mount Resque::Server.new, at: '/info/resque', as: 'resque'
|
||||
|
||||
# Enable Grack support
|
||||
mount Grack::Bundle.new({
|
||||
|
|
Loading…
Add table
Reference in a new issue