Class: AvatarUploader

Inherits:
Sunrise::CarrierWave::BaseUploader show all
Defined in:
lib/generators/sunrise/templates/uploaders/avatar_uploader.rb

Instance Method Summary collapse

Methods inherited from Sunrise::CarrierWave::BaseUploader

#default_url, #image?, #quality, #set_content_type, #set_size, #set_width_and_height, #store_dir, #strip

Instance Method Details

#extension_white_listObject



14
15
16
# File 'lib/generators/sunrise/templates/uploaders/avatar_uploader.rb', line 14

def extension_white_list
  %w(jpg jpeg gif png)
end