Skip to content

Commit

Permalink
modules in config
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Apr 24, 2015
1 parent 19e17eb commit 085f0fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Providers/ModuleProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ public function boot()
__DIR__ . '/../config/config.php', 'typicms.partners'
);

$modules = $this->app['config']['typicms']['modules'];
$this->app['config']->set('typicms.modules', array_merge(['partners' => ['linkable_to_page']], $modules));

$this->loadViewsFrom(__DIR__ . '/../resources/views/', 'partners');
$this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'partners');

Expand Down

0 comments on commit 085f0fc

Please sign in to comment.