Added paginator to entity route
Fixed parameter order for index paginator.