diff --git a/app/views/admin/resque/show.html.haml b/app/views/admin/resque/show.html.haml index 0375d94bc9d..d889a5d0817 100644 --- a/app/views/admin/resque/show.html.haml +++ b/app/views/admin/resque/show.html.haml @@ -1,2 +1,2 @@ %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"} diff --git a/config/routes.rb b/config/routes.rb index f895478fb12..51e65721880 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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({