我尝试按顺序执行以下代码来创建我的插件:
cake bake model all -p MyPlugin // working
cake bake controller all -p MyPlugin // not working
No controllers were baked, Model need to exist before Controller can be baked.
cake bake view all -p MyPlugin // not working
No error and no views are created.
我该如何解决这个问题?
我正在使用cakephp 2.6,有四个表帖子,类别,标签,posts_tags。