support arrays in controllers' paths