From 3f2d48b26ea9a224fe7e26c1d6318bb47dde6a22 Mon Sep 17 00:00:00 2001 From: Alec Leamas Date: Thu, 30 Dec 2010 23:22:43 +0100 Subject: [PATCH] handling http/https references See discussion in https://github.com/diaspora/diaspora/commit/c92f80b2eb9a2cab52d96f886602bbdae56f160a --- app/views/layouts/application.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 82184a573..5115a3c1a 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -26,7 +26,7 @@ - = javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" + = javascript_include_tag AppConfig[:pod_uri].scheme.to_s + "://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" :javascript !window.jQuery && document.write(unescape('%3Cscript src="/javascripts/vendor/jquery144.min.js"%3E%3C/script%3E'))