I am using Laravel 5 and working on my local. I made a route with a parameter of {id} and another route with a specific name like so :
Route::get(\'contacts/
A simple solution would be to use an explicit approach.
Route::get('contacts/{id:[0-9]+}', 'ContactController@get_contact'); Route::get('contacts/new', 'ContactController@new_contact');