title: Laravel route without prefix name
body: <p>I'm trying to utilize the Laravel landing page route. For example Laravel takes you to the welcome page by default, and it has no url text after the slash.</p>
  
  <pre><code>Route::get('/', function () {
      return view('welcome');
  });
  </code></pre>
  
  <p>In my welcome page I'm using following condition to apply styling based on the route name. </p>
  
  <pre><code>{!! Route::is('/')? 'class="index"':'' !!}
  </code></pre>
  
  <p>However this code doesn't work. How can I check the route of the welcome page properly?</p>
  
  <p>Edit: Using "Request" instead of "Route" makes it work. However for consistency's sake I would like to know if it can be done using "Route" too.</p>