Ty Yt
Ty Yt

Reputation: 466

cakephp 3 controllers cakedc plugin

I'm trying to use the user plugin cakeDC with cakephp 3. I followed the documention and I can log a user, list users and that's all. For other actions I have an error :

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

My functions edit, delete... are defined in src/Controller/Users/UsersController.php but it doesn't recognize them except index().

What should I try?

Thanks.

Upvotes: 0

Views: 345

Answers (1)

Ty Yt
Ty Yt

Reputation: 466

The problem was in the routes.php. I tried the routes like https://github.com/CakeDC/users/blob/master/Config/routes.php and modified them. It's not optimized but it works.

Upvotes: 1

Related Questions