This works well for me. The trick was to add an action type after @part. You must use the full name of the method, unlike L3.
Since the prefix is ββREST get, post, etc. are templates to distinguish which type of REST it implements. When you named the route of the sedation controllers, they no longer acted as RESTful controllers, but the normal controller that you want to name. An example of this:
Route::get('user/profile/', array('as'=>'dashboard', 'uses'=>' ProfileController@showDashboard '));
Consider this: Suppose we want SystemController to be a RESTful controller, so you define:
Route::controller('/', 'SystemController');
Then you want to name postDashboard on SystemController as dashboard , so you change your routes as:
Route::get('user/profile/', array('as'=>'dashboard','uses'=>' SystemController@postDashboard ')); Route::controller('/', 'SystemController');
In this scenario, postDashboard should not be accessible through the GET protocol, since we declared it POST , that is, if Laravel viewed it as a RESTful Controller, since we named it that way it would be considered as normal not RESTful, so we can access it tru GET protocol. Calling it that way would be so abruptly inappropriate because we first violate what we want, and Laravel recommends considering SystemController as RESTful.
I think you should consider the Jason Lewis post a suitable answer. There are no hard feelings @arda, as you are right too.