Refactored save/publish logic to save_or_publish method; Updated _form to only desired actions based on post.published? status.