diff --git a/Admin/Routes/Web/Api.php b/Admin/Routes/Web/Api.php index 2751955..eaae021 100755 --- a/Admin/Routes/Web/Api.php +++ b/Admin/Routes/Web/Api.php @@ -23,6 +23,7 @@ return [ 'dest' => '\Modules\Notification\Controller\ApiController:apiNotificationSeenCreate', 'verb' => RouteVerb::SET, 'csrf' => true, + 'active' => true, 'permission' => [ 'module' => ApiController::NAME, 'type' => PermissionType::CREATE, @@ -35,6 +36,7 @@ return [ 'dest' => '\Modules\Notification\Controller\ApiController:apiNotificationsGet', 'verb' => RouteVerb::GET, 'csrf' => true, + 'active' => true, 'permission' => [ 'module' => ApiController::NAME, 'type' => PermissionType::READ, diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php index 2d4de9a..5847094 100755 --- a/Admin/Routes/Web/Backend.php +++ b/Admin/Routes/Web/Backend.php @@ -22,6 +22,7 @@ return [ [ 'dest' => '\Modules\Notification\Controller\BackendController:viewNotificationDashboard', 'verb' => RouteVerb::GET, + 'active' => true, 'permission' => [ 'module' => BackendController::NAME, 'type' => PermissionType::READ, diff --git a/Models/NotificationMapper.php b/Models/NotificationMapper.php index 1935ab5..fac1959 100755 --- a/Models/NotificationMapper.php +++ b/Models/NotificationMapper.php @@ -18,7 +18,7 @@ use Modules\Admin\Models\AccountMapper; use phpOMS\DataStorage\Database\Mapper\DataMapperFactory; /** - * Mapper class. + * Notification mapper class. * * @package Modules\Notification\Models * @license OMS License 2.0