Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Generator from existing table not generating views #121

Open
badcom opened this issue Oct 22, 2015 · 2 comments
Open

Generator from existing table not generating views #121

badcom opened this issue Oct 22, 2015 · 2 comments

Comments

@badcom
Copy link

badcom commented Oct 22, 2015

The below code generated Model and Controller, but it did not generate the views

php artisan mitul.generator:api Post --fromTable --tableName=posts

Is this the expected behavior for the current version of this generator or am I missing something?

@badcom
Copy link
Author

badcom commented Oct 22, 2015

I got no error. Here's the output:

selection_010

It says nothing about views

@mitulgolakiya
Copy link
Owner

you are using mitul.generator:api which generates only APIs. You should use mitul.generator:scaffold_api which will generate both apis and CRUD views.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants