In my Laravel 4 application's root directory, I have a folder themes
. Inside the themes
folder, I have default
and azure
.
How can I access view from this themes/default
folder in a specific route.
Route::get('{slug}', function($slug) {
// make view from themes/default here
});
My directory structure:
-app
--themes
---default
---azure
I need to load views from localhost/laravel/app/themes/default
folder. Please explain this.