openh2labs / elastic-erga

A toolkit for elastic search.
MIT License
1 stars 2 forks source link

Rename Controller methods from home to index as per laravel convention guide #11

Open dance-cmdr opened 8 years ago

dance-cmdr commented 8 years ago

Noticed that the controllers are using methods home instead of index.

I suggest to rename the controller methods from home to index to be in line with the laravel convention style guide and use the artisan generators to create contracts instead where they do the boilerplating for us.

For example use php artisan make:controller <ControllerNameController> to generate a controller.

purificant commented 8 years ago

@alexandros-s Can you provide a link to "laravel convention style guide" for reference?