mirror of
https://0xacab.org/sutty/sutty
synced 2025-01-19 17:03:38 +00:00
fixup! cargar decorators
This commit is contained in:
parent
d8fd25a7cb
commit
63f8b869eb
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ module Sutty
|
||||||
config.active_storage.variant_processor = :vips
|
config.active_storage.variant_processor = :vips
|
||||||
|
|
||||||
config.to_prepare do
|
config.to_prepare do
|
||||||
Dir.glob(File.join(File.dirname(__FILE__), '..', 'app', '**', '*_decorator.rb')) do |c|
|
Dir.glob(File.join(File.dirname(__FILE__), '..', 'app', '**', '*_decorator.rb')).sort.each do |c|
|
||||||
Rails.configuration.cache_classes ? require(c) : load(c)
|
Rails.configuration.cache_classes ? require(c) : load(c)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue