Commit 82507cf7 by Edgar Gonzalez Committed by Jon Yurek

Look for custom processors in `lib/paperclip`

... instead of `lib` of `lib/paperclip_processors`.
Fixes thoughtbot/paperclip#1534
parent 56c30229
......@@ -61,7 +61,7 @@ module Paperclip
def load_processor(name)
if defined?(Rails.root) && Rails.root
require File.expand_path(Rails.root.join("lib", "paperclip_processors", "#{name.underscore}.rb"))
require File.expand_path(Rails.root.join("lib", "paperclip", "#{name.underscore}.rb"))
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment