v1.5.0 Added notifications - Pytlick

This commit is contained in:
2020-11-30 15:14:11 +01:00
parent a082ac9cea
commit f44133285d
18 changed files with 1258 additions and 80 deletions
@@ -73,7 +73,7 @@ class NewsController extends Controller
$news->save();
Helpers::sendNewsNotification($news, User::query()->where("wants_emails", "=", true)->get());
PushNotificationController::push();
return redirect()->route("news.index");
}
@@ -91,7 +91,7 @@ class NewsController extends Controller
$news->save();
Helpers::sendNewsNotification($news, User::query()->where("wants_emails", "=", true)->get());
PushNotificationController::push();
return $news;
}