Skip to content

Instantly share code, notes, and snippets.

@adelf
Created January 9, 2017 12:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adelf/c91b6289c68d1f465e0943270b28ace2 to your computer and use it in GitHub Desktop.
Save adelf/c91b6289c68d1f465e0943270b28ace2 to your computer and use it in GitHub Desktop.
Route::group(['middleware' => 'guest'], function(){
Route::get('login', 'AuthController@getLogin');
Route::get('auth/google', 'AuthController@getAuth');
Route::get('auth/google/callback', 'AuthController@getCallback');
Route::get('auth/denied', 'AuthController@getDenied');
});
Route::group(['middleware' => 'auth'], function () {
// all other app routes here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment