title: Can't get pivot data
body: <p>I have Articles and articles have category_id and + i have ArticleCategory pivot table.
  I store data in pivot table but can't get the data on web.
  now i'm getting only category_id data but i need to get pivot table data to.</p>
  <pre><code>    public function category($slug, $page = 1)
      {
          $offsetPage = ($page - 1);
          $perPage = 24;
          $category = AllCategory::bySlug($slug);
          if (!$category) {
              abort(404);
          }
          $categoryArticles = $category-&gt;articles()-&gt;skip($perPage * $offsetPage)-&gt;take($perPage)-&gt;get();
          $lastPage = ceil($category-&gt;articles()-&gt;count() / $perPage);
          return view('pages/category')
              -&gt;with('category', $category)
              -&gt;with('perPage', $perPage)
              -&gt;with('page', $page)
              -&gt;with('lastPage', $lastPage)
              -&gt;with('categoryArticles', $categoryArticles);
      }
  </code></pre>
  <p>and in blade in foreach i'm getting only category_id data how can i get pivot table data to ?</p>
  <p>I tried something like this but it's don't work</p>
  <pre><code> @foreach($categoryArticles as $article)
          @foreach($article-&gt;manyCategories as $many)
  </code></pre>