Edited: vehicle create route renamed from vehicle add

This commit is contained in:
2025-01-02 02:02:14 +01:00
parent be6b465684
commit e13edeccfc
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ $router->add('/dashboard', 'DashboardController@index', ['RequireAuth']);
// habits routes
$router->group('/vehicles', ['RequireAuth'], function ($router) {
$router->add('', 'VehicleController@index');
$router->add('/add', 'VehicleController@create');
$router->add('/create', 'VehicleController@create');
$router->add('/edit/{id}', 'VehicleController@edit');
$router->add('/delete/{id}', 'VehicleController@delete');
});