mirror of
https://github.com/mirego/accent.git
synced 2024-08-17 06:50:31 +03:00
Remove safe_concat to list not compiled module in hooks events
This commit is contained in:
parent
735dbf9963
commit
f2c5e8dec6
@ -8,7 +8,7 @@ defmodule Accent.Hook.Events do
|
||||
|
||||
event_modules =
|
||||
for name <- paths do
|
||||
Module.safe_concat(__MODULE__, Phoenix.Naming.camelize(Path.basename(name, ".ex")))
|
||||
Module.concat(__MODULE__, Phoenix.Naming.camelize(Path.basename(name, ".ex")))
|
||||
end
|
||||
|
||||
@event_modules event_modules
|
||||
|
Loading…
Reference in New Issue
Block a user