我安装了 Symfony、sfDoctrineGuardUser 和 sfForkedDoctrineApplyPlugin,但我不知道我在 routing.yml 中输入了什么。
在文档中
http://www.symfony-project.org/plugins/sfForkedDoctrineApplyPlugin
只是:
您可以修改 sfApply 模块操作的 URL。为此,只需将此选项添加到您的 app.yml 文件中:
all:
#...
sfForkedApply:
#...
routes:
apply: /user/new
reset: /user/password-reset
resetRequest: /user/reset-request
resetCancel: /user/reset-cancel
validate: /user/confirm/:validate
settings: /user/settings
all:
#...
sfForkedApply:
afterLogin: after_login_route
after: after_route
# as a fallback we use old options too:
sfApplyPlugin:
afterLogin: after_login_route
after: after_route
但不要将需要输入的内容写入 routing.yml 并且我有错误:
路线“after_route”不存在。
和
路线“after_login_route”不存在。
我必须输入什么?