Returns the interpreted path to requested resource after all the installation directory of this application was taken into account
Source Code
# File action_controller/request.rb, line 253 def path path = (uri = request_uri) ? uri.split('?').first.to_s : '' # Cut off the path to the installation directory if given path.sub!(%r/^#{relative_url_root}/, '') path || '' end
<code/>and<pre/>for code samples.