Skip to content

Commit

Permalink
use directory.files.head instead of get
Browse files Browse the repository at this point in the history
closes #668
  • Loading branch information
geemus authored and bensie committed Mar 27, 2012
1 parent 0401a74 commit 667dd41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/carrierwave/storage/fog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def directory
# [Fog::#{provider}::File] file data from remote service
#
def file
@file ||= directory.files.get(path)
@file ||= directory.files.head(path)
end

end
Expand Down

0 comments on commit 667dd41

Please sign in to comment.