reorder resources to workaround bug in routes generator

- resources that start with path params need to go last,
  because of the order of route matching