This website requires JavaScript.
Explore
Help
Sign In
IntenseWebs
/
discourse
Watch
3
Star
0
Fork
0
mirror of
https://github.com/discourse/discourse.git
synced
2026-08-06 03:07:17 -05:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
1fdf9038dbac368c6d63aba49f04ee5dfd1a8ec7
discourse
/
lib
/
global_path.rb
T
6 lines
87 B
Ruby
Raw
Normal View
History
Unescape
Escape
Use a mixin for the
path
function to DRY it up
2015-03-09 15:24:16 -04:00
module
GlobalPath
def
path
(
p
)
"
#{
GlobalSetting
.
relative_url_root
}#{
p
}
"
end
end
Reference in New Issue
Copy Permalink