I am using Laravel Lumen microframework v5.4.6
When trying to load page http://lumen.dev/dax30
everything works fine, but when I request page http://lumen.dev/dax30/
(with ending slash (/
) at the URL end) I receive a NotFoundHttpException error.
My routes.php file:
$_app = $this->app;
$_app->group(['prefix' => 'dax30'], function () use ($_app){
$_app->get('/', 'Landings\Dax30\Controllers\IndexController@index');
});
Question: How to open this page with and without slash with no error?