Commit b6f23f05 by Alex Gusev Committed by Tute Costa

Fix typo [fixes #2043]

parent 7a52c566
...@@ -586,7 +586,7 @@ module Paperclip ...@@ -586,7 +586,7 @@ module Paperclip
# You can either specifiy :restricted_characters or you can define your own # You can either specifiy :restricted_characters or you can define your own
# :filename_cleaner object. This object needs to respond to #call and takes # :filename_cleaner object. This object needs to respond to #call and takes
# the filename that will be cleaned. It should return the cleaned filenme. # the filename that will be cleaned. It should return the cleaned filename.
def filename_cleaner def filename_cleaner
@options[:filename_cleaner] || FilenameCleaner.new(@options[:restricted_characters]) @options[:filename_cleaner] || FilenameCleaner.new(@options[:restricted_characters])
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