Scaffolding in multi-module application

Hi.

How can I create CRUD in my multi-module application?

My application has 2 modules:

/app/admin and /app/frontend

Each of these folders contains:

  • controllers
  • models
  • views

I tried to use dev. tools:

phalcon scaffold product --directory ./app/admin

but it generates error:

Error: The builder is unable to find the models directory

How can I specify models directory for a builder?

try using

phalcon scaffold --table-name product --directory ./app/admin


1.2k

Hi, Casey.

I tried your suggession with no success:

Phalcon DevTools (2.0.5)

Error: The builder is unable to find the models directory