Commit f2e0e698 by Jon Yurek

Removed whiny_thumbnails in place of whiny

parent 5730418b
......@@ -58,7 +58,7 @@ module Paperclip
# * image_magick_path: Deprecated alias of command_path.
def options
@options ||= {
:whiny_thumbnails => true,
:whiny => true,
:image_magick_path => nil,
:command_path => nil,
:log => true,
......
......@@ -12,7 +12,8 @@ module Paperclip
:default_url => "/:attachment/:style/missing.png",
:default_style => :original,
:validations => [],
:storage => :filesystem
:storage => :filesystem,
:whiny => Paperclip.options[:whiny] || Paperclip.options[:whiny_thumbnails]
}
end
......@@ -38,7 +39,6 @@ module Paperclip
@default_style = options[:default_style]
@storage = options[:storage]
@whiny = options[:whiny_thumbnails] || options[:whiny]
@whiny = true unless @whiny == false # default to true if nil
@convert_options = options[:convert_options] || {}
@processors = options[:processors] || [:thumbnail]
@options = options
......
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