SoliDry / api-generator

PHP-code generator for Laravel framework, with complete support of JSON-API data format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix entity name in `$table` and in Routes/api.php

arthurkushman opened this issue · comments

This is needed primarily to match entities with Upper/Lower cased several words e.g.: BigArticle must be written as $table = 'big_article' and routing Route::post('/big_article', 'BigArticleController@create'); as migrations table created correctly as big_article.