title: Laravel Error : ErrorException Missing argument 1?
body: <p>I am using Laravel 4 and I am getting ERROR: when I visit admin/profile/:  Missing argument 1 for AdminController::getProfile() </p>
  
  <p>My AdminController code : </p>
  
  <pre><code>public function getProfile($id) {
      if(is_null($id)) Redirect::to('admin/dashboard');
      $user = User::find($id);
      $this-&gt;layout-&gt;content = View::make('admin.profile', array('user' =&gt; $user));
  }
  </code></pre>
  
  <p>My routes.php :</p>
  
  <pre><code>Route::controller('admin', 'AdminController');
  </code></pre>
  
  <p>My admin/profile (blade) view : </p>
  
  <pre><code>@if(!is_null($user-&gt;id)) 
  {{ $user-&gt;id }} 
  @endif 
  </code></pre>
  
  <p>How could I fix this? I want when they go to admin/profile without ($id) to redirect to dashboard.</p>