I have route like this. I am trying to check if route param social
is either facebook
, google
or twitter
.
Route::get('/login/{social}', 'Auth\LoginController@loginSocial')
->where('social',["facebbok","google","twitter"]);
Above route is not working. It asks for regex. Please help.
How to check this ?