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
|
#### 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
|
```php
|
||||||
// UsersController
|
// UsersController
|
||||||
public function getIndex()
|
public function getIndex()
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ class HttpClient implements HttpClientInterface
|
||||||
{
|
{
|
||||||
$response = $this->getClient()->request(
|
$response = $this->getClient()->request(
|
||||||
'GET',
|
'GET',
|
||||||
config('netbox.panels.default.url').$path,
|
config('netbox.sites.default.url').$path,
|
||||||
[
|
[
|
||||||
'query' => $query
|
'query' => $query
|
||||||
]
|
]
|
||||||
|
|
@ -61,7 +61,7 @@ class HttpClient implements HttpClientInterface
|
||||||
{
|
{
|
||||||
$response = $this->getClient()->request(
|
$response = $this->getClient()->request(
|
||||||
'POST',
|
'POST',
|
||||||
config('netbox.panels.default.url').$path,
|
config('netbox.sites.default.url').$path,
|
||||||
[
|
[
|
||||||
'form_params' => $body
|
'form_params' => $body
|
||||||
]
|
]
|
||||||
|
|
@ -78,7 +78,7 @@ class HttpClient implements HttpClientInterface
|
||||||
{
|
{
|
||||||
$response = $this->getClient()->request(
|
$response = $this->getClient()->request(
|
||||||
'PUT',
|
'PUT',
|
||||||
config('netbox.panels.default.url').$path,
|
config('netbox.sites.default.url').$path,
|
||||||
[
|
[
|
||||||
'form_params' => $body
|
'form_params' => $body
|
||||||
]
|
]
|
||||||
|
|
@ -95,7 +95,7 @@ class HttpClient implements HttpClientInterface
|
||||||
{
|
{
|
||||||
$response = $this->getClient()->request(
|
$response = $this->getClient()->request(
|
||||||
'DELETE',
|
'DELETE',
|
||||||
config('netbox.panels.default.url').$path,
|
config('netbox.sites.default.url').$path,
|
||||||
[
|
[
|
||||||
'form_params' => $body
|
'form_params' => $body
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue