diff options
Diffstat (limited to 'lib/active_storage/attached.rb')
-rw-r--r-- | lib/active_storage/attached.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_storage/attached.rb b/lib/active_storage/attached.rb index d5ded51e2b..9fa7b8e021 100644 --- a/lib/active_storage/attached.rb +++ b/lib/active_storage/attached.rb @@ -26,7 +26,7 @@ class ActiveStorage::Attached when Hash ActiveStorage::Blob.create_after_upload!(attachable) when String - GlobalID::Locator.locate_signed(attachable) + ActiveStorage::Blob.find_signed(attachable) else nil end |