# File lib/action_controller/request.rb, line 152 def path path = (uri = request_uri) ? uri.split('?').first : '' # Cut off the path to the installation directory if given if root = relative_url_root path[root.length..-1] else path end end