Class: HhSpecialIconUploader

Inherits:
ApplicationUploader show all
Defined in:
app/uploaders/hh_special_icon_uploader.rb

Instance Method Summary collapse

Methods inherited from ApplicationUploader

#extension_whitelist, #quality, #store_dir, #validate_dimensions

Instance Method Details

#default_url(*_args) ⇒ Object



2
3
4
# File 'app/uploaders/hh_special_icon_uploader.rb', line 2

def default_url(*_args)
  ActionController::Base.helpers.asset_path("faq_icon/#{[version_name, 'default.png'].compact.join('_')}")
end