Reputation: 1503
I would like to change the navigation url that will be send to the browser. The problem is the browser is receiving the route to the action that render the view; I don't want that and don't want to redirect.
Is there any way?
Upvotes: 0
Views: 414
Reputation: 133380
You can use
Url::remember();
for remeber the current url before you call the destination. Then in the destination page you can change, in you navbar, the url you need obtining the URL remembered in the following way:
$url = Url::previous();
Upvotes: 1