title: Laravel 4.2 Pagination not working
body: <p>I'm having some issues with my pagination, I'm trying to paginate my comments on a forum section I'm making. It worked fine for my 'Categories' and 'Threads', but for comments, I can not seem to get my paginations to work at all.</p>
  
  <p>Here's the code that works for threads:</p>
  
  <pre><code>public function category($id){
      $category = ForumCategory::find($id);
      if ($category == null){
          return Redirect::route('forum')-&gt;with('fail', "That category doesn't exist.");
      }
  
      $threads = $category-&gt;threads()-&gt;paginate(10);
      return View::make('forum.category')-&gt;with('category', $category)-&gt;with('threads', $threads);
  }
  </code></pre>
  
  <p>And here's the code that doesn't work for comments:</p>
  
  <pre><code>public function thread($id){
      $thread     = ForumThread::find($id);
  
      if ($thread == null){
          return Redirect::route('forum')-&gt;with('fail', "That thread doesn't exist.");
      } 
      $author = $thread-&gt;author()-&gt;paginate(5)-&gt;first();
  
      return View::make('forum.thread')-&gt;with('thread', $thread)-&gt;with('author', $author);
  }
  </code></pre>