I'm currently trying to implement redirects using
Route::get('people/foo', function() {
return Redirect::to('people', 301);
});
That won't work, will give a 404, but doing 'people/foo/bar' will redirect correctly.
Route::get('people/foo/bar', function() {
return Redirect::to('people', 301);
});
What could be the cause of this, I've tried different variants.