mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
add search possibility throught all bundles, and remove deps between mainbundle and person bundle.
refs #223
This commit is contained in:
@@ -37,7 +37,7 @@ chill_person_create:
|
||||
defaults: {_controller: ChillPersonBundle:Person:create }
|
||||
|
||||
chill_person_search:
|
||||
pattern: /{_locale}/search
|
||||
pattern: /{_locale}/person/search
|
||||
defaults: { _controller: ChillPersonBundle:Person:search }
|
||||
options:
|
||||
menus:
|
||||
|
@@ -14,3 +14,12 @@ services:
|
||||
- "@request"
|
||||
tags:
|
||||
- { name: form.type, alias: closing_motive }
|
||||
|
||||
chill.person.search_person:
|
||||
class: Chill\PersonBundle\Search\PersonSearch
|
||||
arguments:
|
||||
- "@doctrine.orm.entity_manager"
|
||||
calls:
|
||||
- ['setContainer', ["@service_container"]]
|
||||
tags:
|
||||
- { name: chill.search, alias: 'person_search' }
|
||||
|
Reference in New Issue
Block a user