replaced all panels mentions with sites
This commit is contained in:
parent
01e428716c
commit
eeb904a9a0
2 changed files with 5 additions and 5 deletions
|
|
@ -640,7 +640,7 @@ NETBOX_CONNECTION=
|
|||
```
|
||||
|
||||
#### Access
|
||||
To use another netbox than your default one, you can specify it with the panel-method
|
||||
To use another netbox than your default one, you can specify it with the site method
|
||||
```php
|
||||
// UsersController
|
||||
public function getIndex()
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ class HttpClient implements HttpClientInterface
|
|||
{
|
||||
$response = $this->getClient()->request(
|
||||
'GET',
|
||||
config('netbox.panels.default.url').$path,
|
||||
config('netbox.sites.default.url').$path,
|
||||
[
|
||||
'query' => $query
|
||||
]
|
||||
|
|
@ -61,7 +61,7 @@ class HttpClient implements HttpClientInterface
|
|||
{
|
||||
$response = $this->getClient()->request(
|
||||
'POST',
|
||||
config('netbox.panels.default.url').$path,
|
||||
config('netbox.sites.default.url').$path,
|
||||
[
|
||||
'form_params' => $body
|
||||
]
|
||||
|
|
@ -78,7 +78,7 @@ class HttpClient implements HttpClientInterface
|
|||
{
|
||||
$response = $this->getClient()->request(
|
||||
'PUT',
|
||||
config('netbox.panels.default.url').$path,
|
||||
config('netbox.sites.default.url').$path,
|
||||
[
|
||||
'form_params' => $body
|
||||
]
|
||||
|
|
@ -95,7 +95,7 @@ class HttpClient implements HttpClientInterface
|
|||
{
|
||||
$response = $this->getClient()->request(
|
||||
'DELETE',
|
||||
config('netbox.panels.default.url').$path,
|
||||
config('netbox.sites.default.url').$path,
|
||||
[
|
||||
'form_params' => $body
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue