# encoding: utf-8

class WishDevisUploader < CarrierWave::Uploader::Base

  include Rails.application.routes.url_helpers


  def filename
    "devis.#{file.extension}"  if original_filename.present?
  end

  def store_dir
    "#{Rails.root}/private_medias/wishes/#{model.id}/devis/"
  end

  def extension_white_list
    %w(pdf)
  end


end
