Use aliases when migrating data. Fixes #2240

This commit is contained in:
James Brooks
2016-11-14 18:36:42 +00:00
parent f05156412e
commit 341bfb08a8
6 changed files with 53 additions and 3 deletions
@@ -96,7 +96,9 @@ class IntegrationServiceProvider extends ServiceProvider
protected function registerSystem()
{
$this->app->singleton(SystemContract::class, function (Container $app) {
return new System();
$config = $app['config'];
return new System($config);
});
}