i want to redirect user from maindomian.com to subdomain.maindomian.com, when user click on account link or when particular event occurs.
i don't understand how can i use this code for this problem.
Route::group(array('domain' => '{account}.myapp.com'), function() {
Route::get('user/{id}', function($account, $id)
{
//
});
});
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2NMdE79
via IFTTT
Aucun commentaire:
Enregistrer un commentaire