diff --git a/skolehjem/app/Notifications/PushNews.php b/skolehjem/app/Notifications/PushNews.php index 745e75d..de4d6d6 100644 --- a/skolehjem/app/Notifications/PushNews.php +++ b/skolehjem/app/Notifications/PushNews.php @@ -34,7 +34,8 @@ class PushNews extends Notification ->title('Ny Nyhed') ->icon('/images/icons/appIcon.png') ->body('Der er en ny nyhed i ekapp\'en') - ->action('Se nyheder', 'root.index'); + ->badge('/images/icons/appIcon.png') + ->action('Se nyheder', route('root.index')); } /**