laravel / folio

Page based routing for Laravel.
MIT License
568 stars 46 forks source link

Fix the issue of `Undefined variable $user` #57

Closed mahmoudmohamedramadan closed 1 year ago

mahmoudmohamedramadan commented 1 year ago

When I watched @taylorotwell introduce this awesome application in Laracon I said to myself that I must use that, and really when I used this application I found that powerful more than I think. I tried some features of that application and when I reach Route Model Binding feature I found this Undefined variable $user error raised, and when I debugged the code I found that the issue was in /, and I when replaced it with \\ I found no issue 🎉 (I think that similar to this #46 solved issue).

driesvints commented 1 year ago

This seems to break the test suite.

mahmoudmohamedramadan commented 1 year ago

@driesvints but this issue was really solved! I think there is a fault in the test suite.