Cast resource route options to array
Merge pull request #4593 from Anahkiasen/patch-1

Cast resource route options to array