diff options
author | ishanray <ishan.iipm@gmail.com> | 2018-06-24 00:09:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-24 00:09:31 -0400 |
commit | d3715e67f1ebdc3ddc9c49d4b5800afda30c3920 (patch) | |
tree | db7468011d6abe3736e9a809353966060967dbf3 /activestorage/lib | |
parent | ee708cf402ac9ad8bba4ad4808c01266433883a5 (diff) | |
download | rails-d3715e67f1ebdc3ddc9c49d4b5800afda30c3920.tar.gz rails-d3715e67f1ebdc3ddc9c49d4b5800afda30c3920.tar.bz2 rails-d3715e67f1ebdc3ddc9c49d4b5800afda30c3920.zip |
Update service.rb
Diffstat (limited to 'activestorage/lib')
-rw-r--r-- | activestorage/lib/active_storage/service.rb | 2 |
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 |