php - How to run an action of controller file from .ctp file?
I want to call an action along with its .ctp file of a controller file from another .ctp file. for e.g.
users_controller.php has an action called list_category() and I want to call it from /app/views/pages/index.ctp file. Not just call list_category but also want to show its html output(I mean also list_category.ctp should be rendered).