title: Use Flash Message in Blade template
body: <p>I have controller and function like below</p>
  
  <pre><code>class UserController extends Controller
      {
  
          public function index(){
              $title = trans('app.users');
              $users = User::orderBy('first_name', 'asc')-&gt;paginate(20);
               $users_count = User::count();
              return view('admin.users', compact('title', 'users', 'users_count'));
       }
  }
  </code></pre>
  
  <p>I have a blade template named <code>flash_msg.blade.php</code> which has below content.</p>
  
  <pre><code>@if(session('success'))
          &lt;div class="alert alert-success"&gt;
              {!! session('success') !!}
          &lt;/div&gt;
  @endif
  
  @if(session('error'))
          &lt;div class="alert alert-danger"&gt;
              {!! session('error') !!}
      &lt;/div&gt;
  @endif
  </code></pre>
  
  <p>I included below code in my blade template.</p>
  
  <pre><code>@include('admin.flash_msg')
  </code></pre>
  
  <p>How can I use this ? Which code should I write in controller to get the result of Flash Message ? </p>
  
  <p>Thanks</p>