File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff 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-
You can’t perform that action at this time.
0 commit comments