CrestApps / laravel-code-generator

An efficient Laravel code generator, saving time by automating the creation of resources such as views, controllers, routes, migrations, languages, and form-requests. Highly flexible and customizable, it includes a cross-browser compatible template and client-side validation for application modernization.
https://laravel-code-generator.crestapps.com
MIT License
738 stars 158 forks source link

Small typo in documentation at https://www.crestapps.com/ website #62

Closed milosh-dev closed 6 years ago

milosh-dev commented 6 years ago

Environment:

Description:

I had some difficulty to create relations for resource file, based on the example given in the documentation. It took me couple of hours reading and debugging the code to pin it down.. There is equal sign in the documentation, but colon should be used:

--relations="name:comments;type:hasMany;field:title;params=App\Models\Comment|post_id|id," should be --relations="name:comments;type:hasMany;field:title;params:App\Models\Comment|post_id|id,"

And thanks for really great and useful code!

Steps/Commands To Reproduce:

Content Of The Resource-File:

MikeAlhayek commented 6 years ago

The typo in the docs was fixed.

Thank you.