Make #/new/<language> and #/view/<id> work.