returning durandal routes from server