doc for crud

This commit is contained in:
Julien Fastré 2021-03-23 16:07:03 +01:00
parent 54240f81e8
commit 127f752e2c

View File

@ -23,6 +23,19 @@ One can follow those steps to create a CRUD for one entity:
An example with the ``ClosingMotive`` (PersonBundle) in the admin part of Chill: An example with the ``ClosingMotive`` (PersonBundle) in the admin part of Chill:
Auto-loading the routes
***********************
Ensure that those lines are present in your file `app/config/routing.yml`:
.. code-block:: yaml
chill_cruds:
resource: 'chill_main_crud_route_loader:load'
type: service
Create your model Create your model
***************** *****************