This commit is contained in:
Marc Ducobu
2016-03-24 15:24:14 +01:00
7 changed files with 61 additions and 23 deletions

View File

@@ -1,6 +1,16 @@
event:
path: /
defaults: { _controller: "ChillEventBundle:Event:index" }
chill_event_list_most_recent:
path: most_recent
defaults: { _controller: "ChillEventBundle:Event:mostRecentIndex" }
options:
menus:
section:
order: 90
label: Events
icons: [calendar]
event_show:
path: /{event_id}/show

View File

@@ -1,3 +1,15 @@
Chill\EventBundle\Entity\Participation:
properties:
event:
- NotNull: ~
status:
- NotNull: ~
person:
- NotNull: ~
constraints:
- Callback: [isConsistent]
Chill\EventBundle\Entity\Event:
properties:
label:
@@ -12,13 +24,3 @@ Chill\EventBundle\Entity\Event:
- NotNull: ~
center:
- NotNull: ~
Chill\EventBundle\Event\Participation:
properties:
event:
- NotNull: ~
status:
- NotNull: ~
person:
- NotNull: ~
constraints:
- Callback: [isConsistent]