Skip to content

Instantly share code, notes, and snippets.

@Sean-Spallen
Created April 20, 2020 19:00
Show Gist options
  • Save Sean-Spallen/360ab41d780b356433398bd7351ab90c to your computer and use it in GitHub Desktop.
Save Sean-Spallen/360ab41d780b356433398bd7351ab90c to your computer and use it in GitHub Desktop.
Laravel - Middleware
Route::get('locked', function () {
// Protected content
})->middleware('auth');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment