title: Breadcrumbs error in Laravel
body: <p>I'm trying to use the breadcrumbs by <code>davejamesmiller</code></p>
  
  <p>In the <code>breadcrumbs.php</code> file which is in the same directory as of <code>route.php</code> I have setup up this:</p>
  
  <pre><code>&lt;?php
  
  Breadcrumbs::register('courses', function($breadcrumbs) {
      $breadcrumbs-&gt;push('Courses', route('courses')); });
  </code></pre>
  
  <p>and in the <code>route.php</code> I have:</p>
  
  <pre><code>Route::get('/courses', 'CoursesController@index');
  </code></pre>
  
  <p>and in the <code>courses.index</code> I called the breadcrumbs like this: </p>
  
  <p><code>{{ Breadcrumbs::render('courses') }}</code></p>
  
  <p>But I'm getting an error as follows:</p>
  
  <p><code>Route [courses] not defined. (View: C:\wamp\www\lc2\laravel\app\views\courses\index.blade.php)</code></p>
  
  <p>What might be the problem? I cant seem to figure out. I already have the route set for the <code>courses</code>. </p>