Commit 6997543a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #1351 from tsigo/nonrelative_resque

Give Resque route a name and use that for the iframe src
parents f9711cd8 0de5d08e
%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"}
\ No newline at end of file
...@@ -10,7 +10,7 @@ Gitlab::Application.routes.draw do ...@@ -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({
......
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