From 74e859120c0cae39c23a3b5bf475ce5682c4d508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nono=20Mart=C3=ADnez=20Alonso?= Date: Thu, 17 Sep 2015 23:46:01 -0400 Subject: [PATCH] Add mergeConfigFrom to Provider to make publishing config optional. --- src/VTalbot/Markdown/MarkdownServiceProvider.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/VTalbot/Markdown/MarkdownServiceProvider.php b/src/VTalbot/Markdown/MarkdownServiceProvider.php index 0978df3..fa1d8a0 100644 --- a/src/VTalbot/Markdown/MarkdownServiceProvider.php +++ b/src/VTalbot/Markdown/MarkdownServiceProvider.php @@ -26,6 +26,8 @@ public function register() __DIR__.'/../../config/config.php' => config_path('markdown.php'), ]); + $this->mergeConfigFrom(__DIR__.'/../../config/config.php', 'markdown'); + $this->registerRoutes(); $this->registerEngineResolver(); $this->registerMarkdownFinder();