apimediaru / nova-dashboard-redirect
A Laravel Nova tool.
Installs: 177
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/apimediaru/nova-dashboard-redirect
Requires
- php: >=7.1.0
README
Simple package that allows to redirect nova user to any other route instead of homepage.
Installation
composer require apimediaru/nova-dashboard-redirect
Publishing vendor assets
php artisan vendor:publish --tag=nova-dashboard-redirect
Configuration
Redirect configuration. Might be string what would be passed into Vue Router path option or an array or callable that returns route configuration.
'redirect' => '/resources/users',
Example of array route configuration:
'redirect' => [
'name' => 'index',
'params' => [
'resourceName' => 'articles',
],
],
Exaple of callable:
'redirect' => '\SomeNamespace\SomeClass::getRouteConfiguration',