Route::get('hello', 'App\Http\Controllers\HelloController@index')->name('hello');
Route::get('hello', 'App\Http\Controllers\HelloController@index2')->name('db');
// Routeを記入した後ろに->('[名前]')
<a href="{{route('db',[],false)}}">
// {{route('ルートで付けた名前',[パラメータ],false)}}
<p>hello2へのリンク</p>
</a>
// $resultfind=DB:table("tests")->find(2) を以下に書き換える
$resultfind=DB:table("tests")->find($request->input('detailID'))
<a> href="{{route('db',['detailID'=>$value->id],false)}}"</a>
//{{route('ルートで付けた名前',['detailID'=>$value->プライマリーキー],false)}}
<p>{{$resultfind->name}}</p>