title: Route [Controller@method] not defined
body: <p>I'm trying to create a form with a corresponding controller method which adds a new record to the DB. Laravel Version is 4.1</p>
  
  <p><strong>app/views/projects.blade.php</strong></p>
  
  <pre><code>&lt;tr&gt;
     {{Form::open(array('action' =&gt; 'ProjectController@createProject', 'method' =&gt; 'post'))}}
          &lt;td&gt;{{Form::text('project_number')}}&lt;/td&gt;
          &lt;td&gt;{{Form::text('title')}}&lt;/td&gt;
          &lt;td&gt;{{Form::text('client')}}&lt;/td&gt;
          &lt;td&gt;{{Form::text('comment')}}&lt;/td&gt;
          &lt;td&gt;
              {{Form::file('xmlfile')}}&lt;br /&gt;
              {{Form::submit('Hinzufügen',array('class' =&gt; 'blue'))}}
          &lt;/td&gt;
     {{ Form::close() }}
  &lt;/tr&gt;
  </code></pre>
  
  <p><strong>app/controllers/ProjectController</strong></p>
  
  <pre><code>&lt;?php
  
  class ProjectController extends BaseController {
  
      public function listProjects(){
          $projects = Project::all();
          return View::make('projects',array('projects' =&gt; $projects));
      }
  
      public function createProject(){
          /* handling the form data later
              .
              .
              .
              */
          return "Hello"; 
      }   
  }
  ?&gt;
  </code></pre>
  
  <p><strong>Routes.php</strong></p>
  
  <pre><code>// Project Routes
  Route::get('/projects', array('as' =&gt; 'listProjects', 'uses' =&gt; 'ProjectController@listProjects'));
  Route::get('/projects/{id}', array('as' =&gt; 'actionProject', 'uses' =&gt; 'ProjectController@actionProject'));
  
  // Canal Routes
  Route::get('/canals', array('as' =&gt; 'listCanals', 'uses' =&gt; 'CanalController@listCanals'));
  </code></pre>
  
  <p><strong>Error Message</strong></p>
  
  <blockquote>
    <p>ErrorException Route [ProjectController@createProject] not defined.
    (View: /var/www/virtual/hwoern/laravel/app/views/projects.blade.php)</p>
  </blockquote>
  
  <p>Show the existing projects with the list method in the projects view works fine. What have I overlooked?</p>