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:
parent
4aac5e3fa2
commit
13193bf5ae
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue