title: Laravel 4 generate url error
body: <p>I'm new to Laravel 4 and I get this error : Some mandatory parameters are missing ("id") to generate a URL for route "cat_edit". </p>
  
  <p>Here's my route :</p>
  
  <pre><code>Route::get('/category/{id}/edit', array(
      'as' =&gt; 'cat_edit',
      'uses' =&gt; 'CategoryController@editAction'
  ))-&gt;where('id', '[0-9]+');
  </code></pre>
  
  <p>Here's my controller :</p>
  
  <pre><code>public function editAction($id){
  
      $category = Category::find($id);
      $categories = Category::all();
  
      return View::make('categories.edit', array(
          'category'    =&gt;  $category ,
          'categories'  =&gt;  $categories,
      ));
  }
  </code></pre>
  
  <p>And finally my view :</p>
  
  <pre><code>@extends('layouts.main')
  
  @section('title')
      Edit category
  @stop
  
  @section('content')
  &lt;h1&gt;Add a Category&lt;/h1&gt;
  
  {{ Form::open(array('action' =&gt; 'CategoryController@editAction')) }}
  
  {{ Form::form_lab('text', 'name', 'Name') }}
  
  {{ Form::form_lab('textarea', 'description', 'Description') }}
  
  {{ Form::form_select('parent', 'Parent', $categories) }}
  
  
  
  &lt;div class="form-actions"&gt;
      {{ Form::form_button('Validate') }}
  &lt;/div&gt;
  
  {{ Form::close() }}
  
  @stop
  </code></pre>
  
  <p>I've been searching for hours but I can't see where I'm wrong. All, my other routes are working fine.</p>
  
  <p>Thanks !</p>