title: Laravel Routes onclick window.location doesn't work
body: <p>Why doesnt this work? </p>
  
  <pre><code>&lt;div class="bewinkel-img"
                   @if(!empty($content-&gt;category_id) &amp;&amp; isset($website_category-&gt;category-&gt;group_url))
                      onclick='window.location = "{{URL::route(\"productv2.category\", $website_category-&gt;category-&gt;group_url.'/'.$website_category-&gt;category-&gt;complete_url) }}"'&gt;
  
                   @elseif(!empty($content-&gt;category_group_id) &amp;&amp; isset($website_category_group-&gt;url))
                      onclick='window.location = "{{URL::route("productv2.category", $website_category_group-&gt;url) }}"
  
                   @endif
                  &lt;div style="@if($content-&gt;height != "") width:100%; height:{{$content-&gt;height}}px; @else height:300px; @endif background-image: url('{!!cdn_asset($content-&gt;img)!!}')"&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  </code></pre>
  
  <p>Error Message is as below:</p>
  
  <blockquote>
    <p>Method Illuminate\View\View::__toString() must not throw an exception, caught ErrorException: Parse error: syntax error, unexpected '"', expecting identifier (T_STRING) </p>
  </blockquote>
  
  <p>Any help is appreciated!</p>