Skip to content

Commit

Permalink
Fix API controller namespace to fix apidoc command
Browse files Browse the repository at this point in the history
  • Loading branch information
mzur committed Apr 3, 2024
1 parent 13fdee9 commit 5804993
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Biigle\Modules\Kpis\Http\Controllers;
namespace Biigle\Modules\Kpis\Http\Controllers\Api;

use Biigle\Modules\Kpis\Http\Requests\StoreRequest;
use Biigle\Modules\Kpis\Requests;
Expand Down
2 changes: 1 addition & 1 deletion src/KpisServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function boot(Modules $modules, Router $router)
});

$router->group([
'namespace' => 'Biigle\Modules\Kpis\Http\Controllers',
'namespace' => 'Biigle\Modules\Kpis\Http\Controllers\Api',
], function ($router) {
require __DIR__.'/Http/api.php';
});
Expand Down

0 comments on commit 5804993

Please sign in to comment.