title: Laravel Pagination links() not working
body: <p>After doing this in my controller</p>
  
  <pre><code>   $activities = Package::where('attraction',1)
                -&gt;where('hotel', 0)
                -&gt;where('flight', 0)
                -&gt;paginate(2);
            return view('frontend.activities',compact('activities'));
  </code></pre>
  
  <p>I added the added the for on my blade page in this fomrmat</p>
  
  <pre><code>@foreach($activities as $activity)
                      &lt;div class="col-md-3 page-content-1"&gt;
                          &lt;div class="thumb"&gt;
                              &lt;header class="thumb-header"&gt;
                                  &lt;a class="hover-img" href="{{url('/flight-details')}}"&gt;
                                      &lt;img src="img/new_york_at_an_angle_800x600.jpg" alt="Image Alternative text" title="new york at an angle" /&gt;
                                      &lt;h5 class="hover-title-center"&gt;Book Now&lt;/h5&gt;
                                  &lt;/a&gt;
                              &lt;/header&gt;
                              &lt;div class="thumb-caption"&gt;
                                  &lt;ul class="icon-group text-tiny text-color"&gt;
                                      &lt;li&gt;&lt;i class="fa fa-star"&gt;&lt;/i&gt;
                                      &lt;/li&gt;
                                      &lt;li&gt;&lt;i class="fa fa-star"&gt;&lt;/i&gt;
                                      &lt;/li&gt;
                                      &lt;li&gt;&lt;i class="fa fa-star"&gt;&lt;/i&gt;
                                      &lt;/li&gt;
                                      &lt;li&gt;&lt;i class="fa fa-star"&gt;&lt;/i&gt;
                                      &lt;/li&gt;
                                      &lt;li&gt;&lt;i class="fa fa-star"&gt;&lt;/i&gt;
                                      &lt;/li&gt;
                                  &lt;/ul&gt;
                                  &lt;h5 class="thumb-title"&gt;&lt;a class="text-darken" href="{{url('/flight-details')}}"&gt;Manhattan Skyline&lt;/a&gt;&lt;/h5&gt;
                                  &lt;p class="mb0"&gt;&lt;small&gt;&lt;i class="fa fa-map-marker"&gt;&lt;/i&gt; Queens (LaGuardia Airport (LGA))&lt;/small&gt;
                                  &lt;/p&gt;
                                  &lt;p class="mb0 text-darken"&gt;&lt;span class="text-lg lh1em text-color"&gt;&lt;small &gt;from&lt;/small&gt; Free&lt;/span&gt;
                                  &lt;/p&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                      @endforeach
  </code></pre>
  
  <p>then i added <code>{{ $activities-&gt;links() }}</code> on the page.
  Whenever present the view, the links() does not display the links for the pages. 
  Am i missing something or is there something that i am doing wrong</p>
  
  <p>P.S : I have also tried <code>{{$activities-&gt;render()}}</code> , it did not work too.</p>