cakephp 3个控制器cakedc插件

时间:2015-10-15 08:39:40

标签: cakephp

我尝试使用带有cakephp 3的用户插件cakeDC。我按照文档操作,我可以记录用户,列出用户和所有人。对于其他操作,我有一个错误:

Error: CakeDC/Users.EditController could not be found.

Error: Create the class EditController below in file: C:\wamp\www\cake/vendor/cakedc/users/src\Controller\EditController.php

我的函数编辑,删除...在src/Controller/Users/UsersController.php中定义,但除了index()之外,它不会识别它们。

我该怎么办?

感谢。

1 个答案:

答案 0 :(得分:1)

问题发生在routes.php中。我尝试了像https://github.com/CakeDC/users/blob/master/Config/routes.php这样的路线并修改了它们。它没有经过优化,但确实有效。