1

I want to create a testAction in testController of testModule with command line. So I go to tesModule directory(cd application/modules/test) and run the following command.

zf.sh create action test -c test

It created a action in application/modules/test/controllers/testController.php but it created testAction's test.phtml file in application/views/scripts/test/ folder. But I think it should be in same module folder like this: application/modules/test/views/scripts/test/ folder.

What command should I use that will create action and its phtml file in same module folder.

Thanks

Gordon
  • 312,688
  • 75
  • 539
  • 559
Awan
  • 18,096
  • 36
  • 89
  • 131

1 Answers1

1

zf.sh create test test 1 test

Wouter Dorgelo
  • 11,770
  • 11
  • 62
  • 80