From 7b3bb2300c3e84427bc3ffae6d584dd86878ee4c Mon Sep 17 00:00:00 2001
From: xGrz <33755434+xGrz@users.noreply.github.com>
Date: Fri, 7 Jun 2024 15:59:00 +0200
Subject: [PATCH] Updated controller name and title
---
.../livewire/tracking-states/tracking-state-listing.blade.php | 2 +-
routes/web.php | 4 ++--
...ntsController.php => SettingsTrackingStatesController.php} | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
rename src/Http/Controllers/{SettingsTrackingEventsController.php => SettingsTrackingStatesController.php} (63%)
diff --git a/resources/views/settings/livewire/tracking-states/tracking-state-listing.blade.php b/resources/views/settings/livewire/tracking-states/tracking-state-listing.blade.php
index f764925..ad3ec29 100644
--- a/resources/views/settings/livewire/tracking-states/tracking-state-listing.blade.php
+++ b/resources/views/settings/livewire/tracking-states/tracking-state-listing.blade.php
@@ -1,6 +1,6 @@
- Tracking events
+ Events states
diff --git a/routes/web.php b/routes/web.php
index bdf0d49..e17bb4b 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -7,7 +7,7 @@
use xGrz\Dhl24UI\Http\Controllers\SettingsContentsController;
use xGrz\Dhl24UI\Http\Controllers\SettingsController;
use xGrz\Dhl24UI\Http\Controllers\SettingsCostCentersController;
-use xGrz\Dhl24UI\Http\Controllers\SettingsTrackingEventsController;
+use xGrz\Dhl24UI\Http\Controllers\SettingsTrackingStatesController;
use xGrz\Dhl24UI\Http\Controllers\ShipmentsController;
Route::middleware(['web'])
@@ -26,7 +26,7 @@
Route::get('/', SettingsController::class)->name('index');
Route::get('/costCenters', SettingsCostCentersController::class)->name('costCenters.index');
Route::get('/contents', SettingsContentsController::class)->name('contents.index');
- Route::get('/tracking-states',SettingsTrackingEventsController::class)->name('tracking-states.index');
+ Route::get('/tracking-states',SettingsTrackingStatesController::class)->name('tracking-states.index');
});
});
diff --git a/src/Http/Controllers/SettingsTrackingEventsController.php b/src/Http/Controllers/SettingsTrackingStatesController.php
similarity index 63%
rename from src/Http/Controllers/SettingsTrackingEventsController.php
rename to src/Http/Controllers/SettingsTrackingStatesController.php
index fbbabb7..8e48400 100644
--- a/src/Http/Controllers/SettingsTrackingEventsController.php
+++ b/src/Http/Controllers/SettingsTrackingStatesController.php
@@ -2,13 +2,13 @@
namespace xGrz\Dhl24UI\Http\Controllers;
-class SettingsTrackingEventsController extends BaseController
+class SettingsTrackingStatesController extends BaseController
{
public function __invoke()
{
return view('dhl-ui::settings.tracking-settings-index', [
- 'title' => 'Tracking events'
+ 'title' => 'Tracking states'
]);
}