Skip to content

Commit

Permalink
Try to load translations for testing only
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Oct 26, 2017
1 parent 17e4a00 commit 11bc122
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Providers/ContactServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public function boot()

if (app()->environment() === 'testing') {
$this->app['view']->addNamespace('contact', __DIR__ . '/../Resources/views');
$this->loadTranslationsFrom(__DIR__ .'/../Resources/lang', 'contact');
}
}

Expand Down

0 comments on commit 11bc122

Please sign in to comment.