-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Nova Impersonating Banner | ||
|
||
## Upgrading from 2.x to 3.x | ||
|
||
Require this package with composer. | ||
|
||
```shell | ||
composer require rhyslees/nova-impersonating-banner "^3.0" | ||
``` | ||
|
||
```shell | ||
npm install && npm run build | ||
``` | ||
|
||
## Configuration | ||
|
||
Delete the `nova-impersonating-banner.php` file in `config` as we now use nova's config for impersonation. | ||
|
||
```php | ||
/* | ||
|-------------------------------------------------------------------------- | ||
| Nova Impersonation Redirection URLs | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This configuration option allows you to specify a URL where Nova should | ||
| redirect an administrator after impersonating another user and a URL | ||
| to redirect the administrator after stopping impersonating a user. | ||
| | ||
*/ | ||
|
||
'impersonation' => [ | ||
'started' => '/', | ||
'stopped' => '/', | ||
], | ||
``` |