You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use my App::before Filter to check if the first segment of the requested URL is an available locale (e.g en or de) if it's not, it Redirects to a default -> because there is no Route set for this.
When i redirect it throws an error, on line 183 of LaravelDataSource.php (calling getAction() on a non Object)
here is my little fix:
protected function getController()
{
$router = $this->app['router'];
Hi,
I use my App::before Filter to check if the first segment of the requested URL is an available locale (e.g en or de) if it's not, it Redirects to a default -> because there is no Route set for this.
When i redirect it throws an error, on line 183 of LaravelDataSource.php (calling getAction() on a non Object)
here is my little fix:
protected function getController()
{
$router = $this->app['router'];
}
Greetings :-)
The text was updated successfully, but these errors were encountered: