X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/947bdc28cd01bc025ffde2af3472b38e5d30f9d1..62c17b022f40437c6b8544d867e5c9bb1c2cffa4:/app/models/skin_picture.rb?ds=inline diff --git a/app/models/skin_picture.rb b/app/models/skin_picture.rb index c369eae..304fb8e 100644 --- a/app/models/skin_picture.rb +++ b/app/models/skin_picture.rb @@ -1,9 +1,9 @@ class SkinPicture < ActiveRecord::Base has_attachment :storage => :file_system, - :processor => :Rmagick + :processor => :Rmagick, + :content_type => :image validates_as_attachment - - + end