File upload system for custom skins almost complete.
[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,
-                 :processor => :Rmagick
+                 :processor => :Rmagick,
+                 :content_type => :image
                  
   validates_as_attachment
-                 
-  
+    
 end

Benjamin Mako Hill || Want to submit a patch?