Make model concerns customization easier
This commit is contained in:
0
app/models/custom/concerns/.keep
Normal file
0
app/models/custom/concerns/.keep
Normal 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
|
||||||
|
|||||||
Reference in New Issue
Block a user