lib/georgia/uploader/adapter.rb in georgia-0.7.8 vs lib/georgia/uploader/adapter.rb in georgia-0.8.0
- old
+ new
@@ -1,8 +1,9 @@
require 'active_support/concern'
require 'georgia/uploader/storage/cloudinary'
require 'georgia/uploader/storage/fog'
+require 'georgia/uploader/storage/file'
module Georgia
module Uploader
module Adapter
extend ActiveSupport::Concern
@@ -11,11 +12,13 @@
case Georgia.storage
when :cloudinary
include(Georgia::Uploader::Storage::Cloudinary)
when :fog
include(Georgia::Uploader::Storage::Fog)
+ when :file
+ include(Georgia::Uploader::Storage::File)
else
- include(Georgia::Uploader::Storage::Fog)
+ include(Georgia::Uploader::Storage::File)
end
end
end
end
\ No newline at end of file