How to use 'OR' middleware for route laravel 5
<p>I've two types for user and I've created multiple middlewares.</p>

<p>Some routes need to allow for both type of user.</p>

<p>I've trying following code:</p>

<pre><code>Route::group(['namespace' =&gt; 'Common', 'middleware' =&gt; ['Auth1', 'Auth2']], function() {
    Route::get('viewdetail', array('as' =&gt; 'viewdetail', 'uses' =&gt; 'DashboardController@viewdetail'));
}); 
</code></pre>

<p>But its not working :(</p>