I'd like to see these collapsed down into just one route.  There's no need to support both.  It'll simplify the `handlePublish` function, as well.