Laravel dynamic breadcrumbs with links
<p>I am trying to implement dynamic breadcrumbs in laravel with links. I successfully render the breadcrumbs but without links by following code. </p>

<pre><code>    &lt;ol class="breadcrumb"&gt;
    &lt;li&gt;&lt;a href="#"&gt;&lt;i class="fa fa-dashboard"&gt;&lt;/i&gt;Marketplace&lt;/a&gt;&lt;/li&gt;
    @foreach(Request::segments() as $segment)
    &lt;li&gt;
        &lt;a href="#"&gt;{{$segment}}&lt;/a&gt;
    &lt;/li&gt;
    @endforeach
&lt;/ol&gt;
</code></pre>

<p>But now i am facing issue with the urls. I am getting the current url of the route with all the decendents. Can someone please help me that how can I add links to the breadcrumbs ? </p>

<p>Thanks. </p>