https://github.com/mgwidmann/scrivener_html/blob/master/lib/scrivener/html.ex#L152path = path_args |> Enum.reduce(name_for(List.first(entries), ""), &name_for/2)
It calls namefor which is a one liner:
```"#{acc}#{if(acc != "", do: "")}#{Phoenix.Naming.resource_name(model.struct)}"`` and I don't understand whypath_args` has to be a model.
I'm trying to understand this line :
https://github.com/mgwidmann/scrivener_html/blob/master/lib/scrivener/html.ex#L152
path = path_args |> Enum.reduce(name_for(List.first(entries), ""), &name_for/2)
It calls namefor which is a one liner: ```"#{acc}#{if(acc != "", do: "")}#{Phoenix.Naming.resource_name(model.struct)}"`` and I don't understand why
path_args` has to be a model.Am I missing something ?