I have the following structure:
- master.blade {
@yield('menu') // here I load the one and only menu I have
@yield('content') // here I load different pages
}
- menu.blade {
@extends('master')
@section('menu')
main menu
@stop
}
- other pages using the same format {
@extends('master')
@section('content')
here is the content
@stop
}
For some reason the menu is not loaded. Any ideas why? I try to load the menu and then page. It's simple stuff, but for some reason I don't see why it's not working.