polyglot icon indicating copy to clipboard operation
polyglot copied to clipboard

Polyglot Router Facade breaks Route::current()

Open DMeganoski opened this issue 8 years ago • 0 comments

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.

DMeganoski avatar Jan 31 '17 19:01 DMeganoski