title: Type error: Too few arguments to function laravel 5.4
body: <p>I'm having an html href where I want to pass values to a controller method but it displays <code>Type error: Too few arguments to function</code></p>
  
  <h1>HTML</h1>
  
  <pre><code>&lt;li&gt;&lt;a href="{{route('sidebarSearch.show',['type'=&gt;$all,'title'=&gt;$title])}}"&gt;
  &lt;i class="fa fa-chevron-right"&gt;&lt;/i&gt; all&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="{{route('sidebarSearch.show',['type'=&gt;$paid,'title'=&gt;$title])}}"&gt;
  &lt;i class="fa fa-chevron-right"&gt;&lt;/i&gt; paid&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="{{route('sidebarSearch.show',['type'=&gt;$free,'title'=&gt;$title])}}"&gt;
  &lt;i class="fa fa-chevron-right"&gt;&lt;/i&gt; free&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <h1>controller</h1>
  
  <pre><code>public function show($type,$title)
  {
  
  
    //
  }`
  </code></pre>