Adds routing to allow view paths