Laravel 4 defining RESTful controllers
问题 So I'm new to the Laravel framework as of v4 and wondering what is the way to create and use RESTful controllers. Reading through the documentation, I'm a bit confused as to the difference between RESTful controllers and Resource controllers. When defining a RESTful controller, as per the docs, it suggests doing the following in routes.php : Route::controller('posts', 'PostController'); In the PostController , do we define the class methods by prefixing the name of the method with the HTTP