mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #2179 from alindeman/quack-like-other-directories
Local storage's File quacks like other Directories
This commit is contained in:
commit
1173bd9cf7
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ module Fog
|
|||
load(data)
|
||||
end
|
||||
|
||||
def get(key)
|
||||
def get(key, options = {})
|
||||
if ::File.directory?(service.path_to(key))
|
||||
new(:key => key)
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue