Add routing to note viewer