diff --git a/source/development/crud.rst b/source/development/crud.rst index 22be6e279..1f666cade 100644 --- a/source/development/crud.rst +++ b/source/development/crud.rst @@ -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: +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 *****************