title: How to implement named routes to controller with RESTful in Laravel 4?
body: <p>I follow Laravel 4 tutorial at <a href="http://codebright.daylerees.com/" rel="nofollow">http://codebright.daylerees.com/</a>. </p>
  
  <p>at codebright.daylerees.com/controllers , you can see RESTful Controllers tutorial </p>
  
  <p>I arrived at advanced routing tutorial codebright.daylerees.com/advanced-routing.</p>
  
  <p>There is a sample code to use Route::get with named routes. Then I try to use Route::controller to make RESTful URI with named routes.
  Then, I try to write this code one <strong>routes.php</strong>:</p>
  
  <pre><code>Route::controller('my/very/long/article/route2', array(
  'as'=&gt;'article2',
  'uses'=&gt;'Blog\Controller\Article'
  ));
  </code></pre>
  
  <p>This is my <strong>controller/Article.php</strong> code:</p>
  
  <pre><code>&lt;?php
  namespace Blog\Controller;
  use View;
  use BaseController;
  
  class Article extends BaseController
  {
      public function getCreate()
      {
         return View::make('create');
      }
      public function postCreate()
      {
  
      }
  }
  </code></pre>
  
  <p>When I try to access my/very/long/article/route2/create, it shows error </p>
  
  <pre><code>ErrorException
  Array to string conversion
  …\vendor\laravel\framework\src\Illuminate\Routing\Controllers\Inspector.php
  </code></pre>
  
  <p>Any idea how to implement named routes to controller with RESTful?</p>