title: Laravel 4 : Does a master template get rendered before any replacement sections in the page template get processed?
body: <p>I have a master template which has a section for breadcrumbs (using <a href="https://github.com/davejamesmiller/laravel-breadcrumbs" rel="nofollow noreferrer">davejamesmiller/laravel-breadcrumbs</a>)</p>
  <pre><code>@yield('breadcrumbs',,Breadcrumbs::render())
  </code></pre>
  <p>In my departments.blade.php I then overwrite the breadcrumbs to dynamically load in my department names</p>
  <pre><code>@section('breadcrumbs')
      {{ Breadcrumbs::render($department) }}
  @stop
  </code></pre>
  <p>I get the error</p>
  <blockquote>
  <p>ErrorException</p>
  <p>Trying to get property of non-object (View: /var/www/vhosts/test/app/views/layouts/master.blade.php) (View: /var/www/vhosts/test/app/views/layouts/master.blade.php)</p>
  </blockquote>
  <p>Now what I'm not sure of is if this is a &quot;feature&quot; of laravel to render the master and then do replacements or whether this is something stupid I'm doing.</p>