title: Laravel 5 check if current url matches action
body: <p>I am currently generating my application urls using <code>{{action('Namespace\Class@method')}}</code>. How would I check if the current page request maps to that current action <code>Namespace\Class@method</code>?</p>
  
  <p>I would like to do something like:</p>
  
  <pre><code>&lt;a href="{{action('Namespace\Class@method')}}
    @if (currentAction('Namespace\Class@method'))
      class="active"
    @endif
  &gt;Some link&lt;/a&gt;
  </code></pre>
  
  <p>How would I achieve this in Laravel 5?</p>