src/Widgets/NotificationSender/NotificationsWidget.php
public static function routes()
    {
        $area = area();
        Route::post($area . '/notifications/notifications', NotificationController::class . '@index');
        Route::post($area . '/notifications/widgets/send', NotificationController::class . '@send');
    }
public static function routes()
    {
        $area = area();
        Route::post($area . '/notifications/notifications', NotificationController::class . '@index');
        Route::post($area . '/notifications/widgets/send', NotificationController::class . '@send');
    }
public static function routes ( ) { $ area = area ( ) ; Route :: post ( $ area . '/notifications/notifications' , NotificationController :: class . '@index' ) ; Route :: post ( $ area . '/notifications/widgets/send' , NotificationController :: class . '@send' ) ; }
Widgets routes implementations

@return void
Widgets routes implementations