thedevdojo / voyager-themes

Theme Hook for Voyager
81 stars 23 forks source link

Voyager Themes not work on Voyager 1.1 #18

Open hungxinh opened 6 years ago

hungxinh commented 6 years ago

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.

d3turnes commented 6 years ago

I have the same problem

hungxinh commented 6 years ago

@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',`
d3turnes commented 6 years ago

@hungxinh Thank you !!!

vinhdd93 commented 6 years ago
  • 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

henryonsoftware commented 5 years ago

@hungxinh many thanks bro, you saved my day!