From 620be348be5cb48c7cf6013a535aa36f47dace7c Mon Sep 17 00:00:00 2001 From: Attila Fulop <1162360+fulopattila122@users.noreply.github.com> Date: Fri, 15 Mar 2024 12:41:06 +0200 Subject: [PATCH] Added `HasControllerHooks` to base controller; Bump Concord to v1.15+ --- Changelog.md | 2 ++ composer.json | 2 +- src/Http/Controllers/BaseController.php | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index dcac9f7..c50329e 100644 --- a/Changelog.md +++ b/Changelog.md @@ -16,6 +16,7 @@ - Added the `hideIf` directive to table columns (widget) - Added the `rowAttributes` option to the table widget - Added the `searchable()` method to the `Filter` interface +- Added the `HasControllerHooks` trait to the base controller class - Added the Trident Theme - it has been written from scratch with new visual style - Added the following blade components: - Alert @@ -44,6 +45,7 @@ - Enum v4.1 - Address v3.0 - Gears v1.12 + - Concord v1.15 - Changed Breadcrumbs dependency from v7 to v8 - Changed `bcrypt()` to `Hash::make()` in the make:superuser command - Changed the filename of `resources/database/currencies.json` (removed the leading space from the filename) diff --git a/composer.json b/composer.json index 101880e..3306fb4 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "require": { "php": "^8.2", "ext-json": "*", - "konekt/concord": "^1.13", + "konekt/concord": "^1.15", "konekt/customer": "^3.0", "konekt/address": "^3.0", "konekt/user": "^3.0", diff --git a/src/Http/Controllers/BaseController.php b/src/Http/Controllers/BaseController.php index 85c3ded..6370d89 100644 --- a/src/Http/Controllers/BaseController.php +++ b/src/Http/Controllers/BaseController.php @@ -18,6 +18,7 @@ use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Routing\Controller; +use Konekt\Concord\Hooks\HasControllerHooks; /** * Common base controller class for all AppShell controllers @@ -29,4 +30,5 @@ abstract class BaseController extends Controller use AuthorizesRequests; use DispatchesJobs; use ValidatesRequests; + use HasControllerHooks; }