How to pass value inside href to laravel controller?
<p>This is code snippet from my view file.</p>

<pre><code>@foreach($infolist as $info)
 &lt;a href=""&gt;{{$info-&gt;prisw}} / {{$info-&gt;secsw}}&lt;/a&gt;
@endforeach
</code></pre>

<p>Here is my route which I defined inside route file</p>

<pre><code>Route::get('switchinfo','SwitchinfoController');
</code></pre>

<p>I want to pass two values inside href tag to above route and retrieve them in controller. Can someone provide code to do this thing? </p>