caffeinated / themes

:art: Laravel Themes package with support for the Caffeinated Modules package.

Home Page:https://caffeinatedpackages.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Method setActive does not exist.

xbust3r opened this issue · comments

I updated to laravel 5.5 and have a problem with this function:

Theme::setActive('template2');

In the version 5.3 all works fine, I update the module by composer and check the service provider & facade and is well configured.

Is a bug in laravel 5.5? I use these modules too:

  • Caffenaited Modules
  • Caffenaited Flash
  • Caffenaited Shinobi

@xbust3r
I have the same problem!

Nothing?

It looks to me like the method was changed to setCurrent()

or maybe even set()

@dariusj18 that right

// Laravel 5.7
\Theme::set('theme-name');

work for me!