From d3715e67f1ebdc3ddc9c49d4b5800afda30c3920 Mon Sep 17 00:00:00 2001 From: ishanray Date: Sun, 24 Jun 2018 00:09:31 -0400 Subject: Update service.rb --- activestorage/lib/active_storage/service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3