Make model concerns customization easier

This commit is contained in:
Senén Rodero Rodríguez
2023-09-05 11:47:03 +02:00
parent a097b5a366
commit d0fb228f96
2 changed files with 2 additions and 0 deletions

View File

View File

@@ -137,6 +137,8 @@ module Consul
config.autoload_paths << "#{Rails.root}/app/graphql/custom" config.autoload_paths << "#{Rails.root}/app/graphql/custom"
config.autoload_paths << "#{Rails.root}/app/mailers/custom" config.autoload_paths << "#{Rails.root}/app/mailers/custom"
config.autoload_paths << "#{Rails.root}/app/models/custom" config.autoload_paths << "#{Rails.root}/app/models/custom"
config.autoload_paths << "#{Rails.root}/app/models/custom/concerns"
config.paths["app/views"].unshift(Rails.root.join("app", "views", "custom")) config.paths["app/views"].unshift(Rails.root.join("app", "views", "custom"))
# Set to true to enable managing different tenants using the same application # Set to true to enable managing different tenants using the same application