Clean code around notes show and url helper