You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# @returns [Path] The original request path, if known.
42
+
defrequest_path
43
+
Path[request.env["REQUEST_PATH"]]
44
+
end
45
+
46
+
protecteddefcurrent_base_uri_path
47
+
self.current.node.uri_path.dirname
48
+
end
49
+
50
+
# Compute the relative path from the curent base uri (e.g. the node being rendered) to the request uri. This path can be used to ensure resources are loaded relative to a given path.
0 commit comments