Hi. How do I implement view theming?
Let's say a theme is a folder with templates.
PHP Code:
$theme = 'classic'; // get from some settings
return view($theme .'/users/profile');
What can I do to avoid duplicating this prefix in every method of every controller?