Update route.js
Merge pull request #26 from jcallaha/patch-1

href attribute for associations was generated incorrectly