File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ public function configurePackage(Package $package): void
4747 */
4848 public function boot (): void
4949 {
50+ $ this ->publish ();
5051 $ this ->loadListeners ();
5152 $ this ->loadResendListeners ();
5253 $ this ->loadProviderConfig ();
@@ -85,4 +86,15 @@ private function loadResendListeners(): void
8586 Event::listen (ResendEmailFailedEvent::class, FailedMailListener::class);
8687 // TODO: sent, delivered_delayed
8788 }
89+
90+ private function publish (): void
91+ {
92+ $ this ->publishes ([
93+ __DIR__ .'/../config/filament-better-mails.php ' => config_path ('filament-better-mails.php ' ),
94+ ], 'filament-better-mails-config ' );
95+
96+ $ this ->publishes ([
97+ __DIR__ .'/../database/migrations/ ' => database_path ('migrations ' ),
98+ ], 'filament-better-mails-migrations ' );
99+ }
88100}
You can’t perform that action at this time.
0 commit comments