如何在Laravel中将变量从视图传递到路径?
这是我的代码route.php:
Route::get('/{id}/{id1}', 'WelcomeController@index');
Run Code Online (Sandbox Code Playgroud)
在welcome.blade.php:
< a href="{{URL::route('/{4}/{5}')}}">test</a>
Run Code Online (Sandbox Code Playgroud)
我想建立一个引用上述路线的链接.