adding a basic search page, which create event list

ref #10
ref #18
This commit is contained in:
2016-03-22 17:01:25 +01:00
parent b89ed5d534
commit 55a2c66793
10 changed files with 402 additions and 7 deletions

View File

@@ -0,0 +1,8 @@
services:
chill_event.event_voter:
class: Chill\EventBundle\Security\Authorization\EventVoter
arguments:
- "@chill.main.security.authorization.helper"
tags:
- { name: chill.role }
- { name: security.voter }

View File

@@ -0,0 +1,6 @@
services:
chill_group.repository.event:
class: Doctrine\ORM\EntityRepository
factory: ['@doctrine.orm.entity_manager', getRepository]
arguments:
- 'Chill\EventBundle\Entity\Event'

View File

@@ -0,0 +1,11 @@
services:
chill_event.search_events:
class: Chill\EventBundle\Search\EventSearch
arguments:
- "@security.token_storage"
- "@chill_group.repository.event"
- "@chill.main.security.authorization.helper"
- "@templating"
tags:
- { name: chill.search, alias: 'event_regular' }