Skip to content
New issue

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

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

Already on GitHub? # to your account

Theme not set with Theme::set() #85

Closed
karneaud opened this issue Sep 30, 2019 · 0 comments
Closed

Theme not set with Theme::set() #85

karneaud opened this issue Sep 30, 2019 · 0 comments

Comments

@karneaud
Copy link

I'm using the Theme::set function in a Middleware and it doesn't seem to work

Theme::set('angostura'); // Theme::setCurrent();  does not work either
             dd(Theme::getCurrent());

output

null

My environment is

Laravel 5.8
PHP 7.1
Voyager 1.2
Caffeinated Theme v6.1.0

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

No branches or pull requests

1 participant