Moved example controller path code into routing helpers