title: get current path outside of Route
body: <p>In this URL: <code>http://siteName/html/test</code></p>
  
  <p>I want to catch <code>test</code>, of course inside the route.
  This works great:      </p>
  
  <pre><code>Route::get('test', function()
  {
      return Route::getCurrentRoute()-&gt;getPath();
  }); 
  </code></pre>
  
  <p>But I want to access the path outside of any route and in my <code>route.php</code> file like this:</p>
  
  <pre><code>// routes.php
  return Route::getCurrentRoute()-&gt;getPath();
  Route::get('test', function()
  {
      ...
  });
  </code></pre>