Skip to content

Instantly share code, notes, and snippets.

@lozadaOmr
Created April 22, 2014 06:27
Show Gist options
  • Save lozadaOmr/11167318 to your computer and use it in GitHub Desktop.
Save lozadaOmr/11167318 to your computer and use it in GitHub Desktop.
Filters all request to routes, checks if user is Authenticated
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