mirror of
https://github.com/pelican-dev/panel.git
synced 2025-10-29 14:16:52 +01:00
Fix 500 "No route found" when creating db host (#1841)
This commit is contained in:
parent
5e3c22ea5e
commit
0fec6adc3e
@ -77,7 +77,7 @@ class DatabaseHostController extends ApplicationApiController
|
||||
return $this->fractal->item($databaseHost)
|
||||
->transformWith($this->getTransformer(DatabaseHostTransformer::class))
|
||||
->addMeta([
|
||||
'resource' => route('api.application.databases.view', [
|
||||
'resource' => route('api.application.databasehosts.view', [
|
||||
'database_host' => $databaseHost->id,
|
||||
]),
|
||||
])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user