We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 620749f commit 38cdd98Copy full SHA for 38cdd98
app/uploaders/asset_uploader.rb
@@ -40,7 +40,7 @@ class AssetUploader < Shrine
40
end
41
42
def generate_location(io, context)
43
- attachment = :asset
+ attachment = :assets
44
style = context[:version] || :original
45
original_name, _dot, original_extension = context[:config][:original_filename].rpartition('.')
46
generated_name, _dot, extension = super.rpartition('.')
0 commit comments