に表示されません。これは、マイアラートがlaravel 5
@if(Session::has('info'))
<div class="alert alert-info">{{ Session::get('info') }}</div>
@endif
私alert.blade.phpであり、これは私のwelcome.blade.phpで、
<!DOCTYPE html>
<html>
<head>
<title>Laravel</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
</head>
<body>
@include('alert')
</body>
</html>
そして、ここに私ですすべてのヘルプは本当に事前
で 感謝を理解されるであろうRoute::get('/', function() {
return view('welcome')->with('info','Hello World');
});
routes.phpの、