edvinaskrucas / notification

Notification package for Laravel
MIT License
526 stars 98 forks source link

container not working in Laravel 5? #58

Closed esseremmerik closed 9 years ago

esseremmerik commented 9 years ago

Hello,

We installed a clean Laravel 5 with your package to be sure. When using the normal session and redirect method without container, the message is displayed. When putting the infoInstant example with container in the view, nothing is displayed.

We used this example: {!! Notification::container('myInstant')->infoInstant('Instant message added in a view and displayed!') !!} But also setting a specific container before redirect and display this container has no results.

Any idea what is happening? Peter

esseremmerik commented 9 years ago

Never mind, need to define containers as described in https://github.com/edvinaskrucas/notification/issues/27

Suggestion to put this in readme, so you know you have to configure this. The examples in the readme don't suggest to config a custom container in the config file.