Sha256: ae12f0168da14e4b13ff6f4ae9d6a6778297c49e87fb71c8978a34a89f999371

Contents?: true

Size: 387 Bytes

Versions: 5

Compression:

Stored size: 387 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
importable_attachments-0.0.18 lib/generators/importable_attachments/templates/features/attachments.rb.erb
importable_attachments-0.0.17 lib/generators/importable_attachments/templates/features/attachments.rb.erb
importable_attachments-0.0.15 lib/generators/importable_attachments/templates/features/attachments.rb.erb
importable_attachments-0.0.14 lib/generators/importable_attachments/templates/features/attachments.rb.erb
importable_attachments-0.0.13 lib/generators/importable_attachments/templates/features/attachments.rb.erb