discourse/lib/global_path.rb

6 lines
87 B
Ruby
Raw Normal View History

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