fixes routes for https://github.com/designcreateplay/NodeBB/issues/1485