Skip to content

Instantly share code, notes, and snippets.

@kareypowell
Created July 6, 2016 18:45
Show Gist options
  • Save kareypowell/90e30347b34f9e1d0a749d08adf5f222 to your computer and use it in GitHub Desktop.
Save kareypowell/90e30347b34f9e1d0a749d08adf5f222 to your computer and use it in GitHub Desktop.
Route::group(['domain' => env('MAIN_DOMAIN'), 'middleware' => ['web']], function() {
Route::get('/', 'SignupsController@index');
Route::post('/create-organization', 'SignupsController@registerOrganization');
});
Route::group(['domain' => '{tenant}.' . env('MAIN_DOMAIN'), 'middleware' => ['web']], function () {
Route::get('login', 'Auth\AuthController@showLoginForm');
...
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment