Skip to content

Commit 803bed6

Browse files
authored
Update SelfDiagnosisServiceProvider.php
1 parent 27c466c commit 803bed6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SelfDiagnosisServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ class SelfDiagnosisServiceProvider extends ServiceProvider
1111
*/
1212
public function boot()
1313
{
14+
$this->loadTranslationsFrom(__DIR__.'/../translations', 'self-diagnosis');
15+
1416
if ($this->app->runningInConsole()) {
1517

16-
$this->loadTranslationsFrom(__DIR__.'/../translations', 'self-diagnosis');
17-
1818
$this->publishes([
1919
__DIR__.'/../translations' => resource_path('lang/vendor/self-diagnosis'),
2020
], 'translations');

0 commit comments

Comments
 (0)