Completed
Push — master ( 8f206a...fbe9b5 )
by Fernando
07:12 queued 29s
created
app/filters.php 1 patch
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@  discard block
 block discarded – undo
40 40
 		if (Request::ajax())
41 41
 		{
42 42
 			return Response::make('Unauthorized', 401);
43
-		}
44
-		else
43
+		} else
45 44
 		{
46 45
 			return Redirect::guest('login');
47 46
 		}
@@ -67,8 +66,10 @@  discard block
 block discarded – undo
67 66
 
68 67
 Route::filter('guest', function()
69 68
 {
70
-	if (Auth::check()) return Redirect::to('/');
71
-});
69
+	if (Auth::check()) {
70
+		return Redirect::to('/');
71
+	}
72
+	});
72 73
 
73 74
 /*
74 75
 |--------------------------------------------------------------------------
Please login to merge, or discard this patch.