标签: laravel-5 routing routes laravel-routing
我有一个具有多个输入的表单,我想从中将输入值传递给URL
<form method="get" action=""> <input type="text" name="age" > <input type="text" name="first_name" > <button type="submit">Submit</> </form> Route::get('search/{age}/{first_name}', 'SearchController@index');