i tried running this flow in the browser and it works as expected. however, there's a suggestion for better user experience. instead of taking the user to the currently published edition path, we should redirect the user back to the place where they came from: published / archived listing.

ideally, the flash `:error` object should be set here, which is the convention in such cases. for that to work though, you might have to update the layout to put that on the screen as it currently only prints `:notice` and `:alert` objects. while at it, you might also want to change the background colour for error messages, to the red so that the error gets highlighted.