Skip to content

Commit

Permalink
Update ContentServiceProvider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Feb 2, 2022
1 parent 3accbc5 commit f43a061
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/MicroweberPackages/Content/ContentServiceProvider.php
Expand Up @@ -27,10 +27,10 @@ public function boot()
Content::observe(BaseModelObserver::class);
// Content::observe(CreatedByObserver::class);

View::addNamespace('content', __DIR__ . '/resources/views');
View::addNamespace('content', __DIR__ . 'resources'.DS.'views');

$this->loadMigrationsFrom(__DIR__ . '/migrations/');
$this->loadRoutesFrom(__DIR__ . '/routes/api.php');
$this->loadRoutesFrom(__DIR__ . '/routes/web.php');
$this->loadMigrationsFrom(__DIR__ .DS . 'migrations');
$this->loadRoutesFrom(__DIR__ .DS . 'routes'.DS.'api.php');
$this->loadRoutesFrom(__DIR__ . DS . 'routes'.DS.'web.php');
}
}

0 comments on commit f43a061

Please sign in to comment.