Refactor conflict code in view request