mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-04 21:01:27 -05:00
9 lines
153 B
Ruby
9 lines
153 B
Ruby
module GlobalPath
|
|
def path(p)
|
|
"#{GlobalSetting.relative_url_root}#{p}"
|
|
end
|
|
|
|
def cdn_path(p)
|
|
"#{GlobalSetting.cdn_url}#{path(p)}"
|
|
end
|
|
end
|