From 89763705aaf7b29103bc7bfe9e8c94d320ec1175 Mon Sep 17 00:00:00 2001 From: Corey Coburn Date: Fri, 23 Feb 2018 13:48:27 -0800 Subject: [PATCH] Added a publishable config file. --- config/presenters.php | 16 ++++++++++++++++ src/Providers/PresenterServiceProvider.php | 4 +++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 config/presenters.php 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'), + ]); } /**