from django.urls import path
from . import views

app_name='recipes'
urlpatterns= [
  path('',views.index,name='index'),
  path('<int:recipe_id>/edit',views.edit,name='edit'),
  path('<int:recipe_id>/details',views.details,name='details'),
  path('<int:recipe_id>',views.add_ingredient,name='add_ingredient'),
  path('<int:recipe_ingredient_id>/remove',views.del_ingredient,name='del_ingredient'),
  path('<int:recipe_id>/save',views.save,name='save'),
  path('<int:recipe_id>/delete',views.delete,name='delete')
]