mirror of
https://github.com/ZorgCC/lumen-generators.git
synced 2024-12-26 05:55:28 +03:00
rollback: remove path (I just understood that it was only for the model...)
This commit is contained in:
parent
7f1b5407ee
commit
7d42825426
@ -17,12 +17,7 @@ class ResourcesCommand extends BaseCommand {
|
||||
|
||||
public function handle()
|
||||
{
|
||||
$path = '';
|
||||
if (! is_null($this->option('path'))) {
|
||||
$path = $this->option('path');
|
||||
}
|
||||
|
||||
$content = $this->fs->get($path . $this->argument('file'));
|
||||
$content = $this->fs->get($this->argument('file'));
|
||||
$content = Yaml::parse($content);
|
||||
|
||||
foreach ($content as $model => $i){
|
||||
|
Loading…
Reference in New Issue
Block a user