polyglot
polyglot copied to clipboard
Polyglot Router Facade breaks Route::current()
Just went to setup a new project with the package (dev-develop) and got this error
Call to a member function getUri() on null
This is being caused by
Route::current()->getUri()
Disabling the swapping of facades seems to prevent the issue. For some reason, using the polyglot router breaks the 'current' router function.
For now, I am not using localized routes so this is not an issue for me. Just posting this here as a reminder to myself if I get a chance to fix it. Or if someone else feels froggy.