ÿØÿà JFIF H H ÿÛ C GIF89;
| System: Linux srv913213 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 Current Path : /var/www/yapwebtv.com/Modules_old/Notification/Routes/ |
| Current File : /var/www/yapwebtv.com/Modules_old/Notification/Routes/web.php |
<?php
Route::group(
[
'prefix' => LaravelLocalization::setLocale(),
'middleware' => ['localeSessionRedirect', 'localizationRedirect', 'localeViewPath', 'isInstalledCheck']
],
function () {
Route::prefix('notification')->group(function() {
Route::group(['middleware' => ['loginCheck', 'XSS']], function () {
Route::get('/', 'NotificationController@sendNotification')->name('send-notification')->middleware('permissionCheck:notification_write');
Route::get('/setting', 'NotificationController@notificationSetting')->name('notification-setting')->middleware('permissionCheck:notification_write');
Route::post('/send', 'NotificationController@notificationSend')->name('notification-send')->middleware('permissionCheck:notification_write');
Route::get('/send/custom', 'NotificationController@sendCustomNotificationView')->name('send-custom-notification')->middleware('permissionCheck:notification_write');
Route::post('/send/custom/post', 'NotificationController@sendCustomNotification')->name('custom-notification-send')->middleware('permissionCheck:notification_write');
Route::post('/get-post', 'NotificationController@getPost')->name('get-post')->middleware('permissionCheck:notification_read');
Route::post('/get-post-details', 'NotificationController@getPostDetails')->name('get-post-details')->middleware('permissionCheck:notification_read');
});
});
}
);