Sha256: 12f42dbd16ba172bc55674deb9c1d8d30a052a6366d3cafcdfb65fd1a5514eaf

Contents?: true

Size: 390 Bytes

Versions: 5

Compression:

Stored size: 390 Bytes

Contents

Configuration.for('versioning') do
  enabled true
  validate_item_type_constants false
  path ':rails_root/public/system/:rails_env/:style/:attachable_klass/:id_partition/:basename.:stream_version.:extension'
  url %w(development test).include?(Rails.env) ? '/attachments/:id/download' : '/system/:rails_env/:style/:attachable_klass/:id_partition/:basename.:stream_version.: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/versioning.rb
importable_attachments-0.0.17 lib/generators/importable_attachments/templates/features/versioning.rb
importable_attachments-0.0.15 lib/generators/importable_attachments/templates/features/versioning.rb
importable_attachments-0.0.14 lib/generators/importable_attachments/templates/features/versioning.rb
importable_attachments-0.0.13 lib/generators/importable_attachments/templates/features/versioning.rb