Add in mix.exs
def deps do
[
{:ingredients_plug, github: "TV4/ingredients_plug"}
]
endIn endpoint.ex add the following plug:
plug IngredientsPlug,
framework: %{name: "phoenix", version: elem(Mix.Dep.Lock.read().phoenix, 2)}| Name | Name | Last commit date | ||
|---|---|---|---|---|