Skip to content

Commit

Permalink
#1 workaround right now for improper file path
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeelio committed Dec 4, 2017
1 parent f2b8512 commit 2ec85d0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions app/Providers/LaravelInstallerServiceProvider.php
@@ -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);
}
}
2 changes: 1 addition & 1 deletion config/app.php
Expand Up @@ -62,11 +62,11 @@
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,
Expand Down

0 comments on commit 2ec85d0

Please sign in to comment.