Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

Commit

Permalink
Fixes that config helper does not working in ServiceProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
rathesDot committed Nov 2, 2017
1 parent d47de7f commit 35f2e31
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/MozhiServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Aheenam\Mozhi;

use Illuminate\Support\ServiceProvider;
use League\CommonMark\CommonMarkConverter;

class MozhiServiceProvider extends ServiceProvider
{
Expand All @@ -27,7 +26,7 @@ public function boot()
]);

// set the themes views
$this->loadViewsFrom(config('theme_path'), 'theme');
$this->loadViewsFrom(base_path($this->app['config']['mozhi.theme_path']), 'theme');

// load the routes
$this->loadRoutesFrom(__DIR__ . '/routes/web.php');
Expand Down

0 comments on commit 35f2e31

Please sign in to comment.