I want to show data from the database when I press the button in one view it displays me the specific data by the id in the other view [this is my first view](https://i.stack.imgur.com/MWuwl.png).

In my controller:

```
public function show($id) {
    $symptoms=symptoms::all();
    foreach ($symptoms as $symptom) $symptom=symptoms::find($id);
    return view('front.second',compact('symptom'));
} 

```

My problem is when displays the second view it can't find the page and the route just display the id not the method/id :(