#1 workaround right now for improper file path

This commit is contained in:
Nabeel Shahzad
2017-12-04 12:49:30 -06:00
parent f2b85122fe
commit 2ec85d08ff
2 changed files with 22 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace App\Providers;
use RachidLaasri\LaravelInstaller\Providers\LaravelInstallerServiceProvider as ServiceProvider;
class LaravelInstallerServiceProvider extends ServiceProvider
{
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
$this->publishFiles();
$route_path = base_path('/vendor/rachidlaasri/laravel-installer/src/Routes/web.php');
$this->loadRoutesFrom($route_path);
}
}

View File

@@ -62,11 +62,11 @@ return [
Spatie\Fractal\FractalServiceProvider::class,
SebastiaanLuca\Helpers\Methods\GlobalHelpersServiceProvider::class,
SebastiaanLuca\Helpers\Collections\CollectionMacrosServiceProvider::class,
RachidLaasri\LaravelInstaller\Providers\LaravelInstallerServiceProvider::class,
/*
* Application Service Providers...
*/
App\Providers\LaravelInstallerServiceProvider::class,
App\Providers\AppServiceProvider::class,
App\Providers\BroadcastServiceProvider::class,
App\Providers\AuthServiceProvider::class,