title: Call to undefined method App\Models\Ads::links()
body: <p>I have this code in my controller</p>
  <pre><code>$ads = Ads::orderBy(&quot;element&quot;)-&gt;paginate(50);
  return view(&quot;Frontend.all&quot;)-&gt;with('ads', $ads);
  </code></pre>
  <p>And into my view I would like display pagination links so I make this code</p>
  <pre><code>@foreach($ads as $a)
      {{ $a-&gt;name }}, 
  @endforeach
  {{ $a-&gt;links() }}
  </code></pre>
  <p>Problem is that I have an error like in title</p>
  <blockquote>
  <p>Call to undefined method App\Models\Ads::links()</p>
  </blockquote>
  <p>Where problem is?</p>