I'm building an API project on which the templates always have the same code:
<?php echo json_encode($return);
The common way is creating folders correspondenting with my actions on Template folder, but the ctp files are all equal. How could I use
render() function pointing always to the same file?