Skip to content

Commit 6997543

Browse files
committed
Merge pull request gitlabhq#1351 from tsigo/nonrelative_resque
Give Resque route a name and use that for the iframe src
2 parents f9711cd + 0de5d08 commit 6997543

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/views/admin/resque/show.html.haml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
%h3 Resque
2-
%iframe{src: "/info/resque", width: 1168, height: 600, style: "border: none"}
2+
%iframe{src: resque_url, width: 1168, height: 600, style: "border: none"}

config/routes.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
# Optionally, enable Resque here
1212
require 'resque/server'
13-
mount Resque::Server.new, at: '/info/resque'
13+
mount Resque::Server.new, at: '/info/resque', as: 'resque'
1414

1515
# Enable Grack support
1616
mount Grack::Bundle.new({

0 commit comments

Comments
 (0)