add scope to form "new" report

[ci skip]
This commit is contained in:
2015-06-24 00:00:42 +02:00
parent a938ce5090
commit ec70067429
3 changed files with 37 additions and 19 deletions

View File

@@ -25,4 +25,13 @@ services:
arguments:
- "@chill.main.security.authorization.helper"
tags:
- { name: security.voter }
- { name: security.voter }
chill.report.form.report_type:
class: Chill\ReportBundle\Form\ReportType
arguments:
- "@chill.main.security.authorization.helper"
- "@security.token_storage"
- "@chill.main.helper.translatable_string"
tags:
- { name: form.type, alias: chill_reportbundle_report }