Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Voyager Themes not work on Voyager 1.1 #18

Open
hungxinh opened this issue Apr 23, 2018 · 5 comments
Open

Voyager Themes not work on Voyager 1.1 #18

hungxinh opened this issue Apr 23, 2018 · 5 comments

Comments

@hungxinh
Copy link

hungxinh commented Apr 23, 2018

  • 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.

@d3turnes
Copy link

  • Laravel Version: 5.5.40
  • Voyager Version_ 1.1.0
  • PHP Version: 7.0.15

I have the same problem

@hungxinh
Copy link
Author

@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
Copy link

d3turnes commented May 28, 2018

@hungxinh Thank you !!!

@vinhdd93
Copy link

vinhdd93 commented Oct 25, 2018

  • 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
Copy link

@hungxinh many thanks bro, you saved my day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants