diff --git a/lib/contexted/crud.ex b/lib/contexted/crud.ex index 6973275..372baae 100644 --- a/lib/contexted/crud.ex +++ b/lib/contexted/crud.ex @@ -49,7 +49,7 @@ defmodule Contexted.CRUD do schema = Keyword.fetch!(opts, :schema) exclude = Keyword.get(opts, :exclude, []) - plural_resource_name = Keyword.get(opts, :resource_plural_name, nil) + plural_resource_name = Keyword.get(opts, :plural_resource_name, nil) resource_name = schema |> Module.split() |> List.last() |> Macro.underscore()