That's because you are returning the 'home' view, which is the parent template. You want to return the 'app' view.
Thanks, works as It should now. Still need to read more about laravel it seems, I thought you called the home view and then that returns everything else with yield
You shouldn't return the app view. Instead, put @extends('app')
at the top of your home.blade.php
file and remove @extends('home')
from your app.blade.php
. A "child" always extends the "master" view, you had it the other way around :-)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community