We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f6b6a76 + 0b224c1 commit b7da294Copy full SHA for b7da294
Http/Controllers/Admin/NotificationsController.php
@@ -59,8 +59,7 @@ public function markAllAsRead()
59
{
60
$this->notification->markAllAsReadForUser($this->auth->id());
61
62
- flash(trans('notification::messages.all notifications marked as read'));
63
-
64
- return redirect()->route('admin.notification.notification.index');
+ return redirect()->route('admin.notification.notification.index')
+ ->withSuccess(trans('notification::messages.all notifications marked as read'));
65
}
66
0 commit comments