[Configuration] Cleaner organization (fixes #10)

This commit is contained in:
Gregwar
2011-12-02 18:36:34 +01:00
parent 249036c745
commit c0530a0b26
3 changed files with 16 additions and 18 deletions

View File

@ -3,6 +3,6 @@ services:
# captcha type
captcha.type:
class: Gregwar\CaptchaBundle\Type\CaptchaType
arguments: [ "@session", %gregwar_captcha.width%, %gregwar_captcha.height%, %gregwar_captcha.length%, %gregwar_captcha.as_file%, %gregwar_captcha.image_folder%, %gregwar_captcha.web_path%, %gregwar_captcha.gc_freq%, %gregwar_captcha.expiration% ]
arguments: [ "@session", %gregwar_captcha.config% ]
tags:
- { name: form.type, alias: captcha }