Skip to content

Commit 298a76e

Browse files
committed
modules in config
1 parent ffcca49 commit 298a76e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Providers/ModuleProvider.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ public function boot()
2525
__DIR__ . '/../config/config.php', 'typicms.places'
2626
);
2727

28+
$modules = $this->app['config']['typicms']['modules'];
29+
$this->app['config']->set('typicms.modules', array_merge(['places' => ['linkable_to_page']], $modules));
30+
2831
$this->loadViewsFrom(__DIR__ . '/../resources/views/', 'places');
2932
$this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'places');
3033

0 commit comments

Comments
 (0)