I have these three blade templates
In my controller I'm calling dashboard view like this:
View::make('layouts.dashboard');
master.blade.php
<?= stylesheet_link_tag() ?>
<?= javascript_include_tag() ?>
<html>
<body class="fixed">
<div class="wrapper">
<div class="leftside">
@yield('leftside', 'left-side content')
</div>
<div class="rightside">
@yield('rightside', 'right-side content')
</div>
</div>
</body>
dashboard.blade.php
@extends('layouts.master')
@section('leftside')
@yield('sidebar', 'sidebar content')
@stop
sidebar.blade.php
@extends('layouts.dashboard')
@section('sidebar')
aaa
@stop
The dasbhoard blade shows properly in master blade, but sidebar blade doesn't want to show. Does anyone know what i'm doing wrong?
Thank your very much for any help :)