discourse/lib/global_path.rb
2015-03-09 15:24:16 -04:00

5 lines
87 B
Ruby

module GlobalPath
def path(p)
"#{GlobalSetting.relative_url_root}#{p}"
end
end