Add route admin.notfound

This commit is contained in:
Giuseppe Criscione 2022-11-23 22:50:16 +01:00
parent 2c93f31be6
commit 457db2c3ab

View File

@ -133,6 +133,10 @@ return [
'path' => '/users/{user}/profile/',
'action' => '\Formwork\Admin\Controllers\UsersController@profile',
'methods' => ['GET', 'POST']
],
'admin.notfound' => [
'path' => '/{route}/',
'action' => '\Formwork\Admin\Controllers\ErrorsController@notFound'
]
],
'filters' => [