style updates
This commit is contained in:
@@ -19,7 +19,7 @@ final class DocumentationServiceProvider extends ServiceProvider
|
||||
|
||||
$this->mergeConfigFrom(
|
||||
module_path('Documentation', 'Config/config.php'),
|
||||
'documentation'
|
||||
'documentation',
|
||||
);
|
||||
}
|
||||
|
||||
@@ -47,12 +47,12 @@ final class DocumentationServiceProvider extends ServiceProvider
|
||||
$paths = [$sourcePath];
|
||||
|
||||
foreach (Config::get('view.paths', []) as $path) {
|
||||
if (is_dir($path.'/modules/documentation')) {
|
||||
array_unshift($paths, $path.'/modules/documentation');
|
||||
if (is_dir($path . '/modules/documentation')) {
|
||||
array_unshift($paths, $path . '/modules/documentation');
|
||||
}
|
||||
}
|
||||
|
||||
$this->loadViewsFrom($paths, 'documentation');
|
||||
Blade::anonymousComponentPath($sourcePath.'/components', 'documentation');
|
||||
Blade::anonymousComponentPath($sourcePath . '/components', 'documentation');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user