title: How to view PDF in new tab when link is clicked?
body: <p>when i click the link, it downloads the pdf file and not viewing it</p>
  
  <p>Controller-----------------------------------------------------------------------------------------------------------------                                                                                                 </p>
  
  <pre><code>public function show($id)
  {
      //
      $currentissue = CurrentIssue::find($id);
  
      $tableof = DB::table('tableof_contents')
          -&gt;select('*')
          -&gt;where('title_journal', '=', $currentissue-&gt;title)
          -&gt;get();
  
      return view('currentissue.viewcurrentissue', ['currentissue' =&gt; $currentissue, 'tableof' =&gt; $tableof]);
  }
  </code></pre>
  
  <p>View-----------------------------------------------------------------------------------------------------------------------                                                                                                                     </p>
  
  <pre><code>@foreach ($tableof as $tableof1)
  
  &lt;a href="{{ URL::to($tableof1-&gt;content) }}" target="_blank"&gt;{{$tableof1-&gt;content_title}}&lt;/a&gt;
  &lt;ul&gt;&lt;li&gt;&lt;span class="lnr lnr-user"&gt;&lt;/span&gt; {{$tableof1-&gt;author}}&lt;/li&gt;&lt;/ul&gt;
  
  @endforeach
  </code></pre>