diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-03 21:07:02 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-03 21:07:02 +0200 |
commit | 13193bf5ae21d30c58ab27d963596a5cae0fe45a (patch) | |
tree | 883e200837af4d296666a7cd7683191ae513019d | |
parent | 4aac5e3fa207b8b047db5d3c96a97dca2a695214 (diff) | |
download | rails-13193bf5ae21d30c58ab27d963596a5cae0fe45a.tar.gz rails-13193bf5ae21d30c58ab27d963596a5cae0fe45a.tar.bz2 rails-13193bf5ae21d30c58ab27d963596a5cae0fe45a.zip |
No longer used
-rw-r--r-- | lib/active_file/sites/disk_site.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/active_file/sites/disk_site.rb b/lib/active_file/sites/disk_site.rb index be8a2437a1..d0ec14cbe1 100644 --- a/lib/active_file/sites/disk_site.rb +++ b/lib/active_file/sites/disk_site.rb @@ -58,10 +58,6 @@ class ActiveFile::Sites::DiskSite < ActiveFile::Site private - def verifiable_key_with_expiration(key, expires_in: nil) - verifier.generate key: key, expires_at: Time.now.utc.advance(sec: expires_in) - end - def path_for(key) File.join root, folder_for(key), key end |