laravel constructor redirect
<p>I have a method for checking if a user's role is an admin, if not, redirect them with <code>return redirect('/')-&gt;send();</code>. How can I check for user role and redirect the user without displaying the page and waiting for a redirect?</p>

<p>My Controller:</p>

<pre><code>class AdminController extends Controller
{
    public function __construct()
    {
        if (Auth::check())
        {
            $user = Auth::user();
            if ($user-&gt;role != 'admin')
            {
                return redirect('/')-&gt;send();
            }
        }
        else
        {
            return redirect('/')-&gt;send();
        }
    }

    /**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        return View('admin/index');
    }
}
</code></pre>