mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
doc for crud
This commit is contained in:
parent
54240f81e8
commit
127f752e2c
@ -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
|
||||||
*****************
|
*****************
|
||||||
|
Loading…
x
Reference in New Issue
Block a user