Switching to Grid_FS
This commit is contained in:
parent
d8ebbf8d26
commit
283bbc4850
2 changed files with 1 additions and 2 deletions
|
|
@ -43,7 +43,6 @@ module RequestsHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
f = Redfinger.finger(identifier)
|
f = Redfinger.finger(identifier)
|
||||||
Rails.logger.info("The webfinger to #{identifier} returned #{f}")
|
|
||||||
action = subscription_mode(f)
|
action = subscription_mode(f)
|
||||||
url = subscription_url(action, f)
|
url = subscription_url(action, f)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
class ImageUploader < CarrierWave::Uploader::Base
|
class ImageUploader < CarrierWave::Uploader::Base
|
||||||
include CarrierWave::MiniMagick
|
include CarrierWave::MiniMagick
|
||||||
|
|
||||||
storage :file
|
storage :grid_fs
|
||||||
|
|
||||||
def store_dir
|
def store_dir
|
||||||
"uploads"
|
"uploads"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue