diff --git a/config/presenters.php b/config/presenters.php new file mode 100644 index 0000000..74a14f4 --- /dev/null +++ b/config/presenters.php @@ -0,0 +1,16 @@ + 'App\Presenters', +]; diff --git a/src/Providers/PresenterServiceProvider.php b/src/Providers/PresenterServiceProvider.php index 99e285d..546cf0e 100644 --- a/src/Providers/PresenterServiceProvider.php +++ b/src/Providers/PresenterServiceProvider.php @@ -13,7 +13,9 @@ class PresenterServiceProvider extends ServiceProvider */ public function boot() { - // + $this->publishes([ + __DIR__ . '/../../config/presenters.php' => config_path('presenters.php'), + ]); } /**