I am using this laravel route
Route::group(['domain' => '{subdomain}.abc.com'], function()
{
Route::get('get_user/{user_id}','MyController@myMethod');
}
Here , I am getting wrong user_id in my controller, It should be something like 15 but I am getting my subdomain value subdomain_value
What I am doing wrong here ?
Thanks for your time and advise.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1TqYmEh
via IFTTT
Aucun commentaire:
Enregistrer un commentaire