class GirlFriday::Server
Public Instance Methods
path_prefix()
click to toggle source
# File lib/girl_friday/server.rb, line 29 def path_prefix request.env['SCRIPT_NAME'] end
url_path(*path_parts)
click to toggle source
# File lib/girl_friday/server.rb, line 24 def url_path(*path_parts) [path_prefix, path_parts].join('/').squeeze('/') end