By default doing cake bake the files are placed in directory according to cake conventions. E.g. when baking views for PostsController
my add, edit, index
and view
files will be under app/View/Posts
. Instead of that I want to have all my actions in AdminsController
and all the folders - inside app/View/Admins/
folder, like app/View/Admins/Posts
and it will contain the files for posts. I could perhaps make usual bake and then move the files and folders, but is there a way that I achieve this programmatically ?
cake v 2.x
Thanks