Skip to content

Commit

Permalink
Merge pull request #31 from AlexECP/patch-1
Browse files Browse the repository at this point in the history
dont set DbView alias in service provider
  • Loading branch information
Flynsarmy authored Mar 28, 2017
2 parents e21ea87 + bb58e13 commit 5d6e198
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ public function register()
return new DbBladeCompiler($app['files'], $cache_path, $app['config']);
});

$this->app->booting(function () {
$loader = \Illuminate\Foundation\AliasLoader::getInstance();
$loader->alias('DbView', DbView::class);
});
}

/**
Expand All @@ -63,4 +59,4 @@ public function provides()
return array();
}

}
}

0 comments on commit 5d6e198

Please # to comment.