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
$url resolves paths relative to the page/layout file in which it is used. This ensures consistent URLs that are unaffected by the current browser address (unlike normal relative URLs).
You can also call the function $url() on any page to get the current path.
Describe the problem
Currently, there's no way to create a link relative to the page/layout in which it is used, all links must be absolute. This has 2 problems:
Describe the proposed solution
Routify resolve this nicely with Url helper.
To quote them:
We can borrow their implementation.
Alternatives considered
No response
Importance
would make my life easier
Additional Information
Related issues:
#822
#10708
The text was updated successfully, but these errors were encountered: