From ccac681122db9747fec9512076772bca345e24b9 Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Mon, 5 Mar 2018 11:53:31 -0500 Subject: Generate root-relative paths in Active Storage disk service URL methods Fixes #32129. --- activestorage/lib/active_storage/service.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'activestorage/lib/active_storage/service.rb') diff --git a/activestorage/lib/active_storage/service.rb b/activestorage/lib/active_storage/service.rb index f2e1269f27..f2fda2d5cf 100644 --- a/activestorage/lib/active_storage/service.rb +++ b/activestorage/lib/active_storage/service.rb @@ -73,6 +73,11 @@ module ActiveStorage raise NotImplementedError end + # Return the partial content of the file at the +key+ between the +start+ and +stop+ byte offsets. + def download_chunk(key, range) + raise NotImplementedError + end + # Delete the file at the +key+. def delete(key) raise NotImplementedError -- cgit v1.2.3