Skip to content

Commit

Permalink
Fix package not registering properly
Browse files Browse the repository at this point in the history
  • Loading branch information
kaidesu committed Nov 9, 2014
1 parent 934ce1b commit 31015ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
12 changes: 2 additions & 10 deletions src/Caffeinated/Modules/ModulesServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,15 @@ class ModulesServiceProvider extends ServiceProvider
*/
protected $defer = false;

/**
* Bootstrap the application events.
*
* @return void
*/
public function boot()
{
$this->package('caffeinated/modules');
}

/**
* Register the service provider.
*
* @return void
*/
public function register()
{
$this->package('caffeinated/modules');

$this->registerServices();

$this->registerConsoleCommands();
Expand Down
2 changes: 1 addition & 1 deletion src/config/config.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

return [
'path' => realpath('/app/Modules'),
'path' => app_path('Modules'),
'namespace' => 'App\Modules\\'
];

0 comments on commit 31015ab

Please sign in to comment.