There is no problem. You just need to add this route to your routes file. i.e in routes/web.php file.
After adding this you can check whether this exists or not by simply typing:
php artisan route:list
in the terminal you will find it easy.
Instead could have done:
Route::get('verify-user/{code}',‘Auth\RegisterController@activateUser’)->name(‘activate.user’);