1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

No longer used

This commit is contained in:
David Heinemeier Hansson 2017-07-03 21:07:02 +02:00
parent 4aac5e3fa2
commit 13193bf5ae

View file

@ -58,10 +58,6 @@ class ActiveFile::Sites::DiskSite < ActiveFile::Site
private 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) def path_for(key)
File.join root, folder_for(key), key File.join root, folder_for(key), key
end end