From adaf173ee366615b6b271740ff73890be3b6adf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Leuilliot?= Date: Tue, 22 Oct 2019 12:41:44 +0200 Subject: [PATCH] refactor(core): move AbstractSeatPlugin from services to seat package (#39) in order to keep consistency with packages, AbstractSeatPlugin is moved to main package - as it will be extended by every single seat packages (core and third party). --- src/NotificationsServiceProvider.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/NotificationsServiceProvider.php b/src/NotificationsServiceProvider.php index 167ea9d..e639107 100644 --- a/src/NotificationsServiceProvider.php +++ b/src/NotificationsServiceProvider.php @@ -22,8 +22,8 @@ namespace Seat\Notifications; +use App\Providers\AbstractSeatPlugin; use Seat\Notifications\Commands\AlertsRun; -use Seat\Services\AbstractSeatPlugin; /** * Class NotificationsServiceProvider. @@ -104,8 +104,7 @@ public function register() __DIR__ . '/Config/notifications.alerts.php', 'notifications.alerts'); // Add new permissions - $this->mergeConfigFrom( - __DIR__ . '/Config/notifications.permissions.php', 'web.permissions'); + $this->registerPermissions(__DIR__ . '/Config/Permissions/notifications.php', 'notifications'); // Include this packages menu items $this->mergeConfigFrom(