aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorishanray <ishan.iipm@gmail.com>2018-06-24 00:09:31 -0400
committerGitHub <noreply@github.com>2018-06-24 00:09:31 -0400
commitd3715e67f1ebdc3ddc9c49d4b5800afda30c3920 (patch)
treedb7468011d6abe3736e9a809353966060967dbf3
parentee708cf402ac9ad8bba4ad4808c01266433883a5 (diff)
downloadrails-d3715e67f1ebdc3ddc9c49d4b5800afda30c3920.tar.gz
rails-d3715e67f1ebdc3ddc9c49d4b5800afda30c3920.tar.bz2
rails-d3715e67f1ebdc3ddc9c49d4b5800afda30c3920.zip
Update service.rb
-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 fe3ef7503a..f915518f52 100644
--- a/activestorage/lib/active_storage/service.rb
+++ b/activestorage/lib/active_storage/service.rb
@@ -90,7 +90,7 @@ module ActiveStorage
end
# Returns a signed, temporary URL for the file at the +key+. The URL will be valid for the amount
- # of seconds specified in +expires_in+. You most also provide the +disposition+ (+:inline+ or +:attachment+),
+ # of seconds specified in +expires_in+. You must also provide the +disposition+ (+:inline+ or +:attachment+),
# +filename+, and +content_type+ that you wish the file to be served with on request.
def url(key, expires_in:, disposition:, filename:, content_type:)
raise NotImplementedError