From 9825d5c5740d79a3f420f61bf85514ccbb57719d Mon Sep 17 00:00:00 2001 From: Sergio Visinoni Date: Fri, 31 Aug 2012 17:57:47 +0200 Subject: [PATCH] Fix URL for "resque info" iframe Prepend the URL with #{ENV['RAILS_RELATIVE_URL_ROOT']} to make it work when gitlab's path isn't / on the web server. --- app/views/admin/resque/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/resque/show.html.haml b/app/views/admin/resque/show.html.haml index 0375d94bc9d..2148c42de85 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: "#{ENV['RAILS_RELATIVE_URL_ROOT']}/info/resque", width: 1168, height: 600, style: "border: none"} -- GitLab