title: laravel passe array from controller to view undefined
body: <p>i am new to laravel.
  I am trying to route to a controller, get some data out of the model and passing it to the view like this:</p>
  
  <pre><code>class PlayerController extends Controller{
  
   public function index(){
     $data['start'] = Player::allPlayer()-&gt;get();
  
     return View::make('pages.player')-&gt;with($data);
   }
  }
  </code></pre>
  
  <p>now when i try to read the $data in the view. It says that it is undefined..</p>
  
  <pre><code>@if (isset($data))
  {{'its there'}}
  @else
  {{'its not there'}}
  @endif
  </code></pre>
  
  <p>what am i doing wrong? i tried to print_r the array in the controller. And it looks good...</p>