simplify resource router