use Krucas\Notification\Facades\Notification;
class SomeController
{
protected function notify()
{
Notification::success(trans('auth.notification.login'));
return redirect()->intended('/');
}
}
...and even Notification::count() shows 0. I have followed the installation instructions exactly, as far as I can tell, and instant notifications do work as expected.
Notification version 5.1.0, Laravel version 5.1.26
Notifying from a controller like so:
...and attempting to render them in my view:
...results in no notifications ever visible. DebugBar shows that the notifications are available in my session:
...and even
Notification::count()
shows0
. I have followed the installation instructions exactly, as far as I can tell, and instant notifications do work as expected.Notification version 5.1.0, Laravel version 5.1.26