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)
{
//
});
});
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire