Laravel Request::is() - is there a better way?
<pre class="lang-php prettyprint-override"><code>@if(Request::is('login') OR Request::is('tags') OR Request::is('categories') OR Request::is('posts') OR Request::is('tags/..') OR Request::is('categories/..') OR Request::is('posts/..') OR Request::is(&quot;posts/{$post-&gt;id}&quot;))
    @include('partials._navAdmin')
@else  
    @include('partials._nav')
@endif
</code></pre>
<p>Above is an example in my <code>main.blade.php</code> file; I am trying to use 2 different navigation bars - I know there is a better way to do this but I still can't get the grasp of it!</p>
<p>I don't think it is good coding standards to repeat <code>Request::is</code> over and over again. I am a newbie :( what did I miss over there?</p>