title: Laravel Blade Template With Breadcrumbs
body: <p>I have a template <code>admin.blade.php</code> that contains this code:</p>
  
  <pre><code>@yield('breadcrumbs', Breadcrumbs::render(Request::route()-&gt;getName()))
  </code></pre>
  
  <p>And in my child files I either ignore breadcrumbs or I would like to do something like:</p>
  
  <pre><code>@section('breadcrumbs')
      {{ Breadcrumbs::render(Request::route()-&gt;getName(), $event) }}
  @endsection
  </code></pre>
  
  <p>The problem is that it seems that the default yield content is still being triggered and when the function gets called I get an error. </p>
  
  <blockquote>
    <p>Too few arguments to function
    DaveJamesMiller\Breadcrumbs\BreadcrumbsServiceProvider::{closure}(), 1
    passed in
    C:\xampp\htdocs\msu\vendor\davejamesmiller\laravel-breadcrumbs\src\BreadcrumbsGenerator.php
    on line 68 and exactly 2 expected (View:
    C:\xampp\htdocs\msu\resources\views\event\station\edit.blade.php)</p>
  </blockquote>
  
  <p>Which I understand, so my question is how do I achieve what I am trying to do in blade?</p>
  
  <p>I also tried doing @section @show and section @stop but that seems to just hide the sections and give me the same error.</p>
  
  <p>Any help is greatly appreciated.</p>