title: Laravel 4 - Get URI of Named Route
body: <p>Anyone know how to get the uri of a named route? Something like this:</p>
  
  <pre><code>$sourceUri = Route::getNamedRoute('nameOfMyRoute')-&gt;getPath(); //this doesn't work of course
  </code></pre>
  
  <p>The reason I want this is to determine if the current route requested by the client is the same as a given named route like this:</p>
  
  <pre><code>$targetUri = Route::getCurrentRoute()-&gt;getPath(); //this DOES work
  return sourceUri === targetUri;
  </code></pre>