title: Show bootstrap modal when click on href Laravel
body: <p>How can I show modal with dynamic content from database in Laravel?</p>
  
  <p>my view:</p>
  
  <pre><code>&lt;li&gt;&lt;a href="{!! action('TestsController@show', $test-&gt;slug) !!}"&gt;{!! $test-&gt;test_name !!} &lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>my model:</p>
  
  <pre><code>public function show($slug)
      {
        $test = Test::whereSlug($slug)-&gt;firstOrFail();
        return view('tests.show', compact('test'));
      }
  </code></pre>
  
  <p>This modal I want to show on active page instead of creating new view. I guess it could be done with <code>return view()-&gt;with</code> but can not implement it.</p>