Adding controller class in services.yml

This commit is contained in:
Gregwar 2020-01-14 11:14:42 +01:00
parent a22ba77f52
commit b8a129fc2a
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,10 @@ parameters:
gregwar_captcha.phrase_builder.class: Gregwar\Captcha\PhraseBuilder
services:
Gregwar\CaptchaBundle\Controller\CaptchaController:
public: true
alias: 'gregwar_captcha.controller'
gregwar_captcha.controller:
class: '%gregwar_captcha.controller.class%'
public: true