Skip to content

Instantly share code, notes, and snippets.

@adelf adelf/web.php
Created Jan 9, 2017

What would you like to do?
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
You can’t perform that action at this time.