Bug: Fix autoload_paths for facebook bot (#877)
* Fix autoload_paths for facebook bot
This commit is contained in:
@@ -18,7 +18,7 @@ module Chatwoot
|
||||
|
||||
# This is required in production for zeitwerk to autoload the file
|
||||
config.paths.add File.join('app', 'bot'), glob: File.join('**', '*.rb')
|
||||
config.autoload_paths << Rails.root.join('app/bot')
|
||||
config.autoload_paths << Rails.root.join('app/bot/*')
|
||||
|
||||
# Settings in config/environments/* take precedence over those specified here.
|
||||
# Application configuration can go into files in config/initializers
|
||||
|
||||
Reference in New Issue
Block a user