Sha256: 060972612182ab1a43690ba7785610dc3aa7735f348461f05eaefa97b36b286e
Contents?: true
Size: 302 Bytes
Versions: 15
Compression:
Stored size: 302 Bytes
Contents
config_file_path = Rails.root.join('config', 'image_optim.yml') # Processor will be disabled if config/image_optim.yml is not found -> https://goo.gl/YQxtUv if Rails.env.production? && File.exist?(config_file_path) Paperclip::PaperclipOptimizer.default_options = YAML.load_file(config_file_path) end
Version data entries
15 entries across 12 versions & 1 rubygems