use explicit autoloads rather than from paths
This commit is contained in:
1 parent
9f4568e81a
commit
6e009f16b9
9 files changed
+87
-8
No files matched your search
@@ -27,7 +27,7 @@ module Postal
|
||||
end
|
||||
|
||||
# Include from lib
|
||||
config.eager_load_paths += %W(#{config.root}/lib #{config.root}/app/jobs)
|
||||
config.eager_load_namespaces << Postal
|
||||
|
||||
# Disable field_with_errors
|
||||
config.action_view.field_error_proc = Proc.new { |t, i| t }
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
require 'postal/error'
|
||||
require 'postal'
|
||||
require 'postal/message_db/mysql'
|
||||
Reference in new issue
Block a user