laravel 5 redirect user after login based on user's role
<p>My 'users' table has a 'role' column and when users are registered or logged in, I want them to be redirected based on their role column. how can I do that?</p>