JeffreyWay / Laravel-4-Generators

Rapidly speed up your Laravel workflow with generators
https://packagist.org/packages/way/generators
MIT License
27 stars 9 forks source link

PublishTemplatesCommand failed with Laravel 5.0 #423

Closed rueian closed 9 years ago

rueian commented 9 years ago

I run the command:

$ php artisan generate:publish-templates

then, I get some errors with publishing package config.

In PublishTemplatesCommand.php line 32:

$this->call('config:publish', ['package' => 'way/generators']);

I think it should be:

$this->call('publish:config', ['package' => 'way/generators']);

In PublishTemplatesCommand.php line 63:

$configPath = app_path('config/packages/way/generators/config.php');

I think it should be:

$configPath = base_path('config/packages/way/generators/config.php');
JeffreyWay commented 9 years ago

This is Laravel 4 Generators, not 5.