edvinaskrucas / notification

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

Notifications display twice when defining in Views #11

Closed tomsarduy closed 11 years ago

tomsarduy commented 11 years ago

When I write this:

<?php echo Notification::success('This is a success message'); ?> it display twice:

`

This is a success message

This is a success message
` What if I just want to put that success message without have to write HTML code or define the Notification before? I possible to change this behavior? right now I have to do this to show the alert correctly: `` Thanks in advance, I hope you get what I mean :)
edvinaskrucas commented 11 years ago

Hey, this should work: {{ Notification::container('myInstant')->infoInstant('Instant message added in a view and displayed!') }}

Taken from readme.md (at very bottom) :)