Patch uploaded for #1218

Maybe it is not the official way to inform the developers about a patch, but I think #1218 is solved. I have just added a little code, which allows to use :path_names for collections in route resources.

Greetings, Bence