Configuration.for('attachments') do enabled true include_revision_in_filename <%= use_versioned_filename? %> path ":rails_root/public/system/:rails_env/:style/:attachable_klass/:id_partition/:basename.:extension" url ['development', 'test'].include?(Rails.env) ? "/attachments/:id/download" : "/system/:rails_env/:style/:attachable_klass/:id_partition/:basename.:extension" end