mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 17:26:21 +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.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)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue