Skip to content

Commit

Permalink
thumbnails methods are now [name]_thumbnail insetead of thumbnail_[name]
Browse files Browse the repository at this point in the history
  • Loading branch information
jared committed Jun 24, 2008
1 parent d5791af commit 0e81277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/technoweenie/attachment_fu.rb
Expand Up @@ -77,7 +77,7 @@ def has_attachment(options = {})
# Adds a "thumbnail_[name]" instance method for each thumbnail type.
unless attachment_options[:thumbnails].blank?
attachment_options[:thumbnails].keys.each do |arg|
define_method("thumbnail_#{arg}") {
define_method("#{arg}_thumbnail") {
find_thumbnail(arg)
}
end
Expand Down

0 comments on commit 0e81277

Please sign in to comment.