我有这样的路线:
Execution failed due to configuration error:
No match for output mapping and no default output mapping configured.
我想要的是,默认情况下默认填充os_user_security_check:
pattern: /login_check
host: "{subdomain}.%base_host%"
defaults:
_controller: FOSUserBundle:Security:check
subdomain: "expr(request.get('subdomain'))"
requirements:
_method: POST
subdomain: "[a-z0-9\-_]+?"
以防止在生成路线时影响它,如何?