forgot one instance of include not loading the correct processor const
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2694 567b1171-46fb-0310-a4c9-b4bef9110e78
This commit is contained in:
Родитель
6c6023db30
Коммит
7221288404
|
@ -73,7 +73,7 @@ module Technoweenie # :nodoc:
|
|||
when nil
|
||||
processors = Technoweenie::AttachmentFu.default_processors.dup
|
||||
begin
|
||||
include Technoweenie::AttachmentFu::Processors.const_get(processors.first) if processors.any?
|
||||
include Technoweenie::AttachmentFu::Processors.const_get("#{processors.first}Processor") if processors.any?
|
||||
rescue LoadError, MissingSourceFile
|
||||
processors.shift
|
||||
retry
|
||||
|
|
Загрузка…
Ссылка в новой задаче