mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-01 09:39:51 -04:00
FIX: site cusomizations didn't respect subdirectories
This commit is contained in:
parent
49978d02c2
commit
6ea20018c5
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ class SiteCustomization < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def self.link_css_tag(href)
|
||||
href = (GlobalSetting.cdn_url || "") + "#{href}&__ws=#{Discourse.current_hostname}"
|
||||
href = (GlobalSetting.cdn_url || "") + "#{GlobalSetting.relative_url_root}#{href}&__ws=#{Discourse.current_hostname}"
|
||||
%Q{<link class="custom-css" rel="stylesheet" href="#{href}" type="text/css" media="all">}.html_safe
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue