Hi,
I've used this command with Laravel 5.1 and It works very well. Now I'd like to use it with Laravel 5.2 but when I try to generate the scaffold's views I get the Error "Undefined variable: fields".
But I've also find the solution:
in file ScaffoldGenerator.php at row 255 I've changed
return new FieldsDumper($fields);
to
return new FieldsDumper($this->console->option('fields'));
and now it works.
I hope this can be usefull for you.
Hi,
I've used this command with Laravel 5.1 and It works very well. Now I'd like to use it with Laravel 5.2 but when I try to generate the scaffold's views I get the Error "Undefined variable: fields".
But I've also find the solution:
in file ScaffoldGenerator.php at row 255 I've changed
return new FieldsDumper($fields);
to
return new FieldsDumper($this->console->option('fields'));
and now it works.
I hope this can be usefull for you.