hotwired-laravel/turbo-laravel

Document the Issue With Laravel's Previous URL and Turbo Frames

tonysm opened this issue · 0 comments

Laravel tries to keep track of visited URLs and makes use of it when we use helpers like url()->previous(). We found a solution here that requires generating a new StartSession middleware. Unfortunately, I don't think there's another way to solve this. I guess we can just document the solution described there.