title: Data not displaying in blade template?
body: <p>I'm just new in Laravel 4 and currently I'm reading the documentation. I apply some of the quickstart code tutorial and here what it turns out.</p>
  
  <p><strong>routes.php</strong></p>
  
  <pre><code>Route::get('/users', 'UserController@showUsers');
  </code></pre>
  
  <p><strong>layout.blade.php</strong></p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
      &lt;h1&gt;Laravel Quickstart&lt;/h1&gt;
      @yield('content')
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>users.blade.php</strong></p>
  
  <pre><code>@extends('layout')
  
  @section('content')
      @foreach($users as $user)
          &lt;p&gt;{{ $user-&gt;name }}&lt;/p&gt;
      @endforeach
  @stop
  </code></pre>
  
  <p><strong>UserController.php</strong></p>
  
  <pre><code>class UserController extends BaseController {
  
      public function showUsers()
      {
          $users = User::all();       
          return View::make('users.layout')-&gt;with('users', $users);
      }
  
  }
  </code></pre>
  
  <p>When I to call directly</p>
  
  <pre><code>{{ $users }}
  </code></pre>
  
  <p>in <strong>layout.blade.php</strong> it works pretty fine but why isn't working in <strong>users.blade.php?</strong> </p>
  
  <p>Thanks, :)</p>