enable + gerund in your first example is correct.
enable + object + infinitive in your second example is correct
The main difference with your second example is that there is a direct object, "them"
I don't think you will go far wrong using these 2 examples, with and without an object, as your pattern