I installed the following modules in my ZF2 application: ZfcUser , ZfCAdmin and ZfcUserlist . Although my problem is more general, I just want to clearly indicate what I'm trying to do.
zfcadmin-route /admin. zfcuser-route /user. ZfcUserlist modules come with a children's route for zfcuser, are named zfcuserlistand point to /user/list.
Instead, /user/listI want to call a list of users /admin/user. This, of course, is not a problem, I just registered a children's route for zfcadmin.
Now I want to remove the default route for the user list that comes with the module. So my question is: how can I cancel / delete a specific route in ZF2?
To clarify the situation, I have the following ways:
/admin
/admin/user <- I added this one
/user/list <- This comes shipped with the ZfcUserlist-module. I want to remove it
Any suggestions?
source
share