I created a module and controller using:
$ zf create module api
$ zf create controller auth index-action-included=1 api
This works fine, and I get the index action when I request http://localhost/api/auth.
I want to create a new action called validate:
$ zf create action validate auth view-included=1 api
But I get told that:
An Error Has Occurred
Controller auth was not found.
Edit:
I have directly added the action in the controller, and created the view file – but I hope I don’t miss anything else I need here that the command line should have created.
The command should be like this:
For details zend commands