This repository has been archived by the owner on May 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 267
Deleting a Post #32
Comments
Should this be a soft delete? Maybe to have a kind of trashcan for deleted projects in case the user wanted to recover them |
Soft delete would be a good idea |
I agree. If we can archive posts, that'd be great! Please create a PR for this if anyone ends up implementing this 👍 |
AjayBarot
pushed a commit
to AjayBarot/stories
that referenced
this issue
Mar 19, 2017
1. Implemented archive functionality for post. 2. Implemented status flow process for post (user can move archived post to active). 3. Prevent post to hard delete.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Thought this might be useful to someone. You can delete a post from the
rails console
with:Post.find(POST_ID).destroy
Replace
POST_ID
with the numerical ID of your post.I was hoping there was a method to delete a tag in the API but I don't see it.
The text was updated successfully, but these errors were encountered: