added support for legacy tickets
This commit is contained in:
@@ -29,9 +29,24 @@ final class DocumentationServiceProvider extends ServiceProvider
|
||||
public function boot(): void
|
||||
{
|
||||
$this->registerViews();
|
||||
$this->registerCommands();
|
||||
$this->loadMigrationsFrom(module_path('Documentation', 'Database/Migrations'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Register module console commands.
|
||||
*/
|
||||
private function registerCommands(): void
|
||||
{
|
||||
if (! $this->app->runningInConsole()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$this->commands([
|
||||
\Modules\Documentation\Console\ImportDocumentationCommand::class,
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Register module views and anonymous components.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user