]> projects.mako.cc - selectricity-live/blobdiff - app/models/skin_picture.rb
updated the git ignore file
[selectricity-live] / app / models / skin_picture.rb
index c369eae2ff03772566c5191bf93a4b41697683b4..304fb8e5d5963015daa2caf0c96ce102bffa0434 100644 (file)
@@ -1,9 +1,9 @@
 class SkinPicture < ActiveRecord::Base
   
   has_attachment :storage => :file_system,
 class SkinPicture < ActiveRecord::Base
   
   has_attachment :storage => :file_system,
-                 :processor => :Rmagick
+                 :processor => :Rmagick,
+                 :content_type => :image
                  
   validates_as_attachment
                  
   validates_as_attachment
-                 
-  
+    
 end
 end

Benjamin Mako Hill || Want to submit a patch?