Skip to content

Commit 2f469fc

Browse files
committed
chore: add media/ prefix to Assets path
1 parent a917240 commit 2f469fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/cortex/plugins/core/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Cortex
22
module Plugins
33
module Core
4-
VERSION = '0.12.2'
4+
VERSION = '0.12.3'
55
end
66
end
77
end

lib/tasks/cortex/core/media.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ namespace :cortex do
4040
micro: { process: { method: 'resize_to_limit', config: { width: '50', height: '50' } }, format: :jpg },
4141
},
4242
keep_files: [:destroyed, :replaced],
43-
path: '<%= attachment %>/<%= original_name %>-<%= style %>-<%= generated_hex %>.<%= extension %>',
43+
path: 'media/<%= attachment %>/<%= original_name %>-<%= style %>-<%= generated_hex %>.<%= extension %>',
4444
storage: {
4545
type: 's3',
4646
host_alias: ENV['HOST_ALIAS'],

0 commit comments

Comments
 (0)