aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/lib/active_storage
diff options
context:
space:
mode:
authorGeorge Claghorn <george.claghorn@gmail.com>2017-12-14 22:23:09 -0500
committerGitHub <noreply@github.com>2017-12-14 22:23:09 -0500
commit48fbc4aec845eeb51708a68806453528fab07d14 (patch)
tree29b9ad5ab21077ed2d7057e902fe3a3d6be7868c /activestorage/lib/active_storage
parentcc0d272c8c37c197a7e68633e5f082eccb2e3737 (diff)
parent53757939b727c63a77d179b07130430e27868dc0 (diff)
downloadrails-48fbc4aec845eeb51708a68806453528fab07d14.tar.gz
rails-48fbc4aec845eeb51708a68806453528fab07d14.tar.bz2
rails-48fbc4aec845eeb51708a68806453528fab07d14.zip
Merge pull request #31037 from jeffreyguenther/activestorage-guide
ActiveStorage Guide
Diffstat (limited to 'activestorage/lib/active_storage')
-rw-r--r--activestorage/lib/active_storage/service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/lib/active_storage/service.rb b/activestorage/lib/active_storage/service.rb
index c8f675db86..f2e1269f27 100644
--- a/activestorage/lib/active_storage/service.rb
+++ b/activestorage/lib/active_storage/service.rb
@@ -97,7 +97,7 @@ module ActiveStorage
# Returns a signed, temporary URL that a direct upload file can be PUT to on the +key+.
# The URL will be valid for the amount of seconds specified in +expires_in+.
- # You most also provide the +content_type+, +content_length+, and +checksum+ of the file
+ # You must also provide the +content_type+, +content_length+, and +checksum+ of the file
# that will be uploaded. All these attributes will be validated by the service upon upload.
def url_for_direct_upload(key, expires_in:, content_type:, content_length:, checksum:)
raise NotImplementedError