Skip to content

Commit c36224c

Browse files
authored
Merge pull request #1 from SauravKumal/Publish-views-for-custom-log
Publish views for custom log
2 parents 052e04e + b895c16 commit c36224c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/TelegramLoggerServiceProvider.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public function register()
2828
public function boot()
2929
{
3030
$this->loadViewsFrom(__DIR__.'/views', 'laravel-telegram-logging');
31+
$this->publishes([__DIR__.'/views' => base_path('resources/views/vendor/laravel-telegram-logging')],'views' );
3132
$this->publishes([__DIR__ . '/../config/telegram-logger.php' => config_path('telegram-logger.php')], 'config');
3233
}
33-
}
34+
}

0 commit comments

Comments
 (0)