refactor: remove explicit autoload

This commit is contained in:
Adam Cooke
2024-01-30 09:15:25 +00:00
parent 26aae298a4
commit 0f9882f132
6 changed files with 13 additions and 83 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ module Postal
end
# Include from lib
config.eager_load_namespaces << Postal
config.eager_load_paths << Rails.root.join("lib")
# Disable field_with_errors
config.action_view.field_error_proc = proc { |t, i| t }