Open hungxinh opened 6 years ago
I have the same problem
@d3turnes Add prefix to config/voyager.php:
`return [ 'user' => [ 'add_default_role_on_register' => true, 'default_role' => 'user', 'namespace' => App\User::class, 'default_avatar' => 'users/default.png', 'redirect' => '/admin', ],
'prefix' => 'admin',`
@hungxinh Thank you !!!
- Laravel Version: 5.6.12
- Voyager Version: 1.1.0
- PHP Version: 7.1.14
- Database Driver & Version: mysqlnd 5.0.12-dev - 20150407
Description:
Voyager Themes work fine on Voyager 1.0.17 but on Voyager 1.1 it NOT WORK BECAUSE Voyager 1.1 change: Update Configuration The voyager.php configuration file has had a few changes. The prefix key has been removed in favor of the user.redirect key. Please note that the user.redirect key should be prefixed with a slash (/), unlike the original prefix key.
Nó ko hoạt động trên Laravel 5.7 and Voyager 1.1 à bạn ơi ? Voyager Themes not work on Voyager 1.1 and Laravel 5.7
@hungxinh many thanks bro, you saved my day!
Description:
Voyager Themes work fine on Voyager 1.0.17 but on Voyager 1.1 it NOT WORK BECAUSE Voyager 1.1 change: Update Configuration The voyager.php configuration file has had a few changes. The prefix key has been removed in favor of the user.redirect key. Please note that the user.redirect key should be prefixed with a slash (/), unlike the original prefix key.