Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Commit

Permalink
Remove un-needed code image? from Upfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Berg committed Oct 27, 2008
1 parent 6462355 commit dc1d241
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/paperclip/upfile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ def original_filename
def size
File.size(self)
end

def image?
["image/jpeg", "image/tiff", "image/png", "image/gif", "image/bmp"].include?(content_type)
end
end

end
Expand Down

0 comments on commit dc1d241

Please sign in to comment.