add resources line to routes