]> projects.mako.cc - selectricity/blob - app/models/skin_picture.rb
Streamlined and made more consistent the code that checks for custom skin uploads...
[selectricity] / app / models / skin_picture.rb
1 class SkinPicture < ActiveRecord::Base
2   
3   has_attachment :storage => :file_system,
4                  :processor => :Rmagick,
5                  :content_type => :image
6                  
7   validates_as_attachment
8     
9 end

Benjamin Mako Hill || Want to submit a patch?