We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57cabc9 commit cb2e9e8Copy full SHA for cb2e9e8
src/Providers/TelegramGitNotifierServiceProvider.php
@@ -23,11 +23,15 @@ public function boot(): void
23
$this->loadRoutesFrom($routePath);
24
}
25
26
- $helperPath = __DIR__.'/../../common/helpers.php';
27
- if (file_exists($helperPath)) {
28
- require_once $helperPath;
+ $viewPath = __DIR__.'/../../resources/views';
+ if (file_exists($routePath)) {
+ $this->loadViewsFrom($viewPath, 'telegram-git-notifier');
29
30
31
+ $this->publishes([
32
+ __DIR__.'/../../resources/views' => base_path('resources/views/vendor/telegram-git-notifier'),
33
+ ], 'views');
34
+
35
$this->loadTranslationsFrom(__DIR__.'/../../lang', 'telegram-git-notifier');
36
37
$this->publishes([
0 commit comments