Skip to content

Commit

Permalink
Merge pull request gitlabhq#1351 from tsigo/nonrelative_resque
Browse files Browse the repository at this point in the history
Give Resque route a name and use that for the iframe src
  • Loading branch information
dzaporozhets committed Sep 2, 2012
2 parents f9711cd + 0de5d08 commit 6997543
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/admin/resque/show.html.haml
@@ -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"}
2 changes: 1 addition & 1 deletion config/routes.rb
Expand Up @@ -10,7 +10,7 @@

# 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({
Expand Down

0 comments on commit 6997543

Please sign in to comment.