Laravel 5.2 assigning same route to different controller action by conditions
<p>I wish to route the same route to different controller base on user type.  </p>

<p>Such as</p>

<pre><code>    if (Auth::check() &amp;&amp; Auth::user()-&gt;is_admin) {
        Route::get('/profile', 'AdminController@show');
    } elseif (Auth::check() &amp;&amp; Auth::user()-&gt;is_superadmin) {
        Route::get('/profile', 'SuperAdminController@show');
    }
</code></pre>

<p>But this doesn't work.</p>

<p>How can I make it works as what I want?</p>