aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/docs/generator.ex
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2020-02-11 13:54:55 +0400
committerEgor Kislitsyn <egor@kislitsyn.com>2020-02-11 13:54:55 +0400
commit6875ccb6bfcc5ae62db26d38c3d5eac4c6f8706a (patch)
treedacb02d953473e3a0c6aeec58d86fb7fb1ed5886 /lib/pleroma/docs/generator.ex
parent3c4a30c6db312aff2afbfcd423498be19c02c68c (diff)
parent5ebffd5224729413e53a55ddda9a1f86224d7d73 (diff)
downloadpleroma-6875ccb6bfcc5ae62db26d38c3d5eac4c6f8706a.tar.gz
Merge branch 'develop' into feature/new-registrations-digest
Diffstat (limited to 'lib/pleroma/docs/generator.ex')
-rw-r--r--lib/pleroma/docs/generator.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/docs/generator.ex b/lib/pleroma/docs/generator.ex
index 6b12dcdd9..e0fc8cd02 100644
--- a/lib/pleroma/docs/generator.ex
+++ b/lib/pleroma/docs/generator.ex
@@ -13,7 +13,7 @@ defmodule Pleroma.Docs.Generator do
|> Enum.filter(&String.ends_with?(&1, ".ex"))
|> Enum.map(fn filename ->
module = filename |> String.trim_trailing(".ex") |> Macro.camelize()
- String.to_existing_atom(start <> module)
+ String.to_atom(start <> module)
end)
end
end