title: Blade not displaying model values from the database
body: <p>I am trying to display the list of products for a user, and to my surprise this does not display it on the page, though, it is inserted into the database, what could be wrong?   </p>
  
  <pre><code>public function index()
          {
              $listProducts = Product::where('user_id', '=', Auth::user()-&gt;id)-&gt;orderBy('productname', 'desc');
              return view('product.index')
              -&gt;with('products', $listProducts);
          }
  </code></pre>
  
  <p>Blade file:</p>
  
  <pre><code>@if(Auth::check())
                          @foreach($products as $product)
  
                                  &lt;TR&gt;&lt;TD&gt;{!! $product-&gt;companyname !!}&lt;/TD&gt;&lt;TD&gt;{!! $product-&gt;productname !!}&lt;/TR&gt;
  
                          @endforeach
                      @endif
  </code></pre>