Skip to content

Commit

Permalink
register modules automatically in ModulesServiceProvider. ref: pingpo…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gravitano committed Jun 4, 2015
1 parent fca0fea commit 9c797cd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ModulesServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ class ModulesServiceProvider extends ServiceProvider
public function boot()
{
$this->registerNamespaces();

$this->registerModules();
}

protected function registerModules()
{
$this->app->register('Pingpong\Modules\Providers\BootstrapServiceProvider');
}

/**
Expand Down

0 comments on commit 9c797cd

Please sign in to comment.