fix: eager loading to include concern
This commit is contained in:
@@ -43,6 +43,7 @@ module Chatwoot
|
||||
config.eager_load_paths << Rails.root.join('enterprise/listeners')
|
||||
# rubocop:disable Rails/FilePath
|
||||
config.eager_load_paths += Dir["#{Rails.root}/enterprise/app/**"]
|
||||
config.eager_load_paths << Rails.root.join('enterprise/app/models/concerns')
|
||||
# rubocop:enable Rails/FilePath
|
||||
# Add enterprise views to the view paths
|
||||
config.paths['app/views'].unshift('enterprise/app/views')
|
||||
|
||||
Reference in New Issue
Block a user