Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fork and update recipes #8

Open
michellesanver opened this issue Oct 13, 2017 · 0 comments
Open

Fork and update recipes #8

michellesanver opened this issue Oct 13, 2017 · 0 comments
Milestone

Comments

@michellesanver
Copy link
Owner

Update recipes:

  • Send a POST request to update a recipe with a json body to /recipes/user/slugggified-title.json

If a different user updates the recipe: Always create a new recipe node, this is a fork of that recipe.
If the same user updates the recipe: Only create a new recipe node if the ingredients changed.

NOTE: Now that we have forks, we also have to change the listing to link to the source recipe if there is one.

@michellesanver michellesanver added this to the MVP Recipes milestone Oct 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant