Update route.js

Update documentation to use getters, [0] is undefined for ember data
Merge pull request #4874 from Aesthetikx/patch-1

Update route.js