title: how to get current route name in blade file laravel 5.6
body: <p>I want to reload my current page with onclick function, for this how to get my current route name in blade file. </p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;li class="dropdown user user-menu" onclick="window.location='{{ Route::current() }}'" style="cursor: pointer;"&gt;
    &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown"&gt;
      &lt;i class="livicon" data-name="refresh" data-loop="true" data-color="#42aaca" 
          data-hovercolor="#42aaca" data-size="28"&gt;&lt;/i&gt;
    &lt;/a&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>What is the best way to get the current route?</p>
  
  <p>I want to use it on function <code>onclick</code>.</p>