Put this your filters.php file:
Route::filter('guest', function()
{
if (!Auth::check()) {
return Redirect::to('login');
}
});
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community