Hello,
I have read how to set different paths or namespaces for views, but I think this is not a proper solution for me. What I would like to do its to set a view base path for mobile or desktop devices, so in the view controllers I don't need to make any change (with namespaces it would be something like: View::make('mobile::myview') for mobile devices).
That would be great to set the path in the routes file and don't touch any view controller. Any ideas for that? Maybe just Config::set the view path?
Thanks in advance! :)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community