Skip to content

Commit

Permalink
Updating Localization ServiceProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanedev-maroc committed Jan 8, 2016
1 parent 7a3a72a commit f5e8106
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LocalizationServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function provides()
*/
private function registerLocalization()
{
$this->app->singleton('arcanedev.localization', function($app) {
$this->singleton('arcanedev.localization', function($app) {
/**
* @var Contracts\RouteTranslatorInterface $routeTranslator
* @var Contracts\LocalesManagerInterface $localesManager
Expand All @@ -99,7 +99,7 @@ private function registerLocalization()
return new Localization($app, $routeTranslator, $localesManager);
});

$this->addFacade(
$this->alias(
$this->app['config']->get('localization.facade', 'Localization'),
Facades\Localization::class
);
Expand Down

0 comments on commit f5e8106

Please sign in to comment.