Skip to content

Commit 738ae3a

Browse files
authored
Update ServiceProvider.php
1 parent 3fdc78b commit 738ae3a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/ServiceProvider.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,17 @@ class ServiceProvider extends AddonServiceProvider
99
protected $actions = [
1010
Actions\StatamicEntryExportPdf::class,
1111
];
12+
1213
public function bootAddon()
1314
{
1415
$this->mergeConfigFrom(__DIR__ . '/../config/statamic-entry-export-pdf.php', 'statamic-entry-export-pdf');
1516

1617
$this->publishes([
1718
__DIR__ . '/../config/statamic-entry-export-pdf.php' => config_path('statamic-entry-export-pdf.php'),
1819
], 'statamic-entry-export-pdf-config');
20+
21+
$this->publishes([__DIR__ . '/../resources/views' => base_path('resources/views/vendor/statamic-entry-export-pdf')], 'statamic-entry-export-pdf-views');
22+
23+
$this->loadViewsFrom(__DIR__ . '/../resources/views', 'statamic-entry-export-pdf');
1924
}
2025
}
21-

0 commit comments

Comments
 (0)