fixes #3492 - API v2 nested routes for each controller

This should be ```param :environment_id``` , I think that's why tests are failing.