Add routing to resource