Class: PictureUploader
- Inherits:
-
Sunrise::CarrierWave::BaseUploader
- Object
- CarrierWave::Uploader::Base
- Sunrise::CarrierWave::BaseUploader
- PictureUploader
- Defined in:
- lib/generators/sunrise/templates/uploaders/picture_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_list ⇒ Object
14 15 16 |
# File 'lib/generators/sunrise/templates/uploaders/picture_uploader.rb', line 14 def extension_white_list %w(jpg jpeg gif png) end |