igaster / laravel-theme

Theme support for Laravel
MIT License
516 stars 110 forks source link

default theme #99

Closed robov closed 5 years ago

robov commented 5 years ago

What is the best and easiest way to set the default theme hardcoded to one of the available themes ? so that if I do not specify a theme it will get the default one. This will clean up my resources/views files really nicely with only themes.

I could do it by hard setting the session variable, but I rather have it outside of the session Any suggestions ?

robov commented 5 years ago

Ok, got it... sorry for asking.. I created a new service provider and did there a \theme::set

igaster commented 5 years ago

Exactly!