Commit 0de5d08e authored by Robert Speicher's avatar Robert Speicher

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

Closes #1350
parent ed954eba
%h3 Resque
%iframe{src: "/info/resque", width: 1168, height: 600, style: "border: none"}
\ No newline at end of file
%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({
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment