5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 03:51:42 +00:00

error de sintaxis

This commit is contained in:
f 2022-07-01 15:02:17 -03:00
parent e6c03df13f
commit f1137c6ed2

View file

@ -38,6 +38,7 @@ module Sutty
config.active_storage.variant_processor = :vips config.active_storage.variant_processor = :vips
config.to_prepare do
# Load application's model / class decorators # Load application's model / class decorators
Dir.glob(File.join(File.dirname(__FILE__), '..', 'app', '**', '*_decorator.rb')).sort.each 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)