3 years ago

The alert doesn't show up in Laravel 5

Posted 3 years ago by ronit5rg

This is my alert.blade.php,

    <div class="alert alert-info">{{ Session::get('info') }}</div>

And this is my welcome.blade.php,

<!DOCTYPE html>

        <link rel="stylesheet" href=""     integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"     crossorigin="anonymous">


And, here's my routes.php,

Route::get('/', function () {
    return view('welcome')->with('info','Hello World');

Any help will be really appreciated. Thanks in advance

Please sign in or create an account to participate in this conversation.