From e13edeccfc626145d51da8417080670b2cb426ad Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Thu, 2 Jan 2025 02:02:14 +0100 Subject: [PATCH] Edited: vehicle create route renamed from vehicle add --- app/views/vehicles/index.php | 2 +- public/index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/vehicles/index.php b/app/views/vehicles/index.php index 2ec4ed4..6326ce3 100644 --- a/app/views/vehicles/index.php +++ b/app/views/vehicles/index.php @@ -1,7 +1,7 @@
get('vehicles'))): ?> -

No vehicles yet. Add your first vehicle.

+

No vehicles yet. Add your first vehicle.

get('vehicles') as $vehicle): ?> diff --git a/public/index.php b/public/index.php index bf8af17..066ee8a 100644 --- a/public/index.php +++ b/public/index.php @@ -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'); });