title: Laravel Pagination Links not showing?
body: <p>I used correct code but i don't know why links are not showing on view. i tried many solutions also but didn't work any.Can anyone help me to get out of this trouble?</p>
  
  <p><strong>Controller</strong></p>
  
  <pre><code>public function show_all(){
          $all_records=DB::table('registrations')-&gt;paginate(3);
  
          return view('Admin.view_doctor',['all'=&gt;$all_records]);
      }
  </code></pre>
  
  <p><strong>View</strong></p>
  
  <pre><code>&lt;div class="style"&gt;
  
              {{ $all-&gt;links() }}
  
   &lt;/div&gt; 
  </code></pre>