Yes, convention is to use plurals. You can generate your controller at the command line with
php artisan make:controller HotelsController
which will contain all skeleton restful methods. You can then define your restful routes inside routes.php with
Route::resource('hotels','HotelsController');
Simples :)
Good luck.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community