Created
April 22, 2014 06:27
-
-
Save lozadaOmr/11167318 to your computer and use it in GitHub Desktop.
Filters all request to routes, checks if user is Authenticated
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Route::group(array('before' => 'auth'),function() | |
{ | |
// Include Routes that can only be accessed when Authenticated here. | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment