Switches to named GET Parameter for servings

This commit is contained in:
Patrick Magauran
2024-02-13 20:59:04 -05:00
parent a9a3dd6e51
commit cf190734b2
4 changed files with 6 additions and 6 deletions

View File

@@ -394,7 +394,7 @@ export default {
methods: {
getRecipeURL: function (recipe, servings) {
return this.resolveDjangoUrl("view_recipe",`${recipe.id}-${servings}`)
return this.resolveDjangoUrl("view_recipe",`${recipe.id}?servings=${servings}`)
},
openRecipe: function (recipe, servings) {