Skip to content

Instantly share code, notes, and snippets.

@beyazitkolemen
Last active May 18, 2017 23:59
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 beyazitkolemen/b5863e5625a4553100c0 to your computer and use it in GitHub Desktop.
Save beyazitkolemen/b5863e5625a4553100c0 to your computer and use it in GitHub Desktop.
Route::group(array('domain' => '{magaza}.domain'), function ($magaza) {
if ($magaza == "www") {
Route::controller('/', 'SiteController');
}
else {
Route::controller('/', 'MagazaController');
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment