Passing id through an link href in Laravel
问题 is it possible to pass id through an link href in Laravel and display that page like /projects/display/2. I have this link: <td><a href="{{ url('projects/display', $projects->id) }}" class="btn btn-info">View</a></td> It displays the id when hovering over the link as /projects/display/2. But whenever i click on the link i get an error message of: Sorry, the page you are looking for could not be found. I have a view setup called projects/display, plus routes and controller. routes: <?php Route