fixes #3492 - API v2 nested routes for each controller

Why two variables with the same value?