Skip to content

Commit 38cdd98

Browse files
committed
chore: base directory for asset uploads should be 'assets' rather than 'asset'
1 parent 620749f commit 38cdd98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/uploaders/asset_uploader.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class AssetUploader < Shrine
4040
end
4141

4242
def generate_location(io, context)
43-
attachment = :asset
43+
attachment = :assets
4444
style = context[:version] || :original
4545
original_name, _dot, original_extension = context[:config][:original_filename].rpartition('.')
4646
generated_name, _dot, extension = super.rpartition('.')

0 commit comments

Comments
 (0)