Adds Phoenix.Param implementation for TypeID

This commit is contained in:
Lancelot HARDEL 2023-08-28 16:43:13 +02:00 committed by GitHub
parent dd8f957106
commit a5e45558f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,3 @@
defimpl Phoenix.Param, for: TypeID do
def to_param(type_id), do: TypeID.to_string(type_id)
end