Created
February 17, 2019 23:35
-
-
Save Jhhames/b1b9880cb497f5c9dd910192560854f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
toastr.options.closeButton = true; | |
@if(Session::has('error')) | |
toastr.error("{{ Session::get('error') }}",'',{timeOut: 4000}); | |
@endif; | |
@if(Session::has('success')) | |
toastr.success("{{ Session::get('success') }}",'',{timeOut: 4000}); | |
@endif; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment