Use rack accessor instead of building pathname manually