我正在使用FOS User bundle来允许用户注册并登录到我的应用程序。到现在为止,它工作得很好,但我不知道如何把握这些观点?我能以某种方式生成它们吗? Documentation似乎并不知道它的任何内容,只是覆盖模板,这不是我所需要的...如何生成FOS UserBundle视图
起初我认为路由文件可能有一定用处,因为它指向项目中的特定位置,但它列出文件夹我甚至不有我的应用程序
fos_user_security:
resource: "@FOSUserBundle/Resources/config/routing/security.xml"
fos_user_profile:
resource: "@FOSUserBundle/Resources/config/routing/profile.xml"
prefix: /profile
fos_user_register:
resource: "@FOSUserBundle/Resources/config/routing/registration.xml"
prefix: /register
fos_user_resetting:
resource: "@FOSUserBundle/Resources/config/routing/resetting.xml"
prefix: /resetting
fos_user_change_password:
resource: "@FOSUserBundle/Resources/config/routing/change_password.xml"
prefix: /profile
没有FOSUserBundle目录在所有...
很大,张贴的答案,我将其标记为如果你愿意接受 – Leo 2014-09-06 16:09:31