Temp fix: Don't use CDN for customizations

This commit is contained in:
Robin Ward 2014-12-30 14:54:50 -05:00
parent 7b9768aa7f
commit a33461d1c7

View file

@ -144,7 +144,7 @@ class SiteCustomization < ActiveRecord::Base
end end
def self.link_css_tag(href) def self.link_css_tag(href)
href = (GlobalSetting.cdn_url || "") + href # href = (GlobalSetting.cdn_url || "") + href
%Q{<link class="custom-css" rel="stylesheet" href="#{href}" type="text/css" media="all">}.html_safe %Q{<link class="custom-css" rel="stylesheet" href="#{href}" type="text/css" media="all">}.html_safe
end end
end end