This commit is contained in:
kyg516
2016-09-15 15:05:40 +09:00
parent 40682aaec4
commit 6e7f2dfdb7
5 changed files with 32 additions and 118 deletions

View File

@@ -13,7 +13,6 @@ class AvatarUploader < CarrierWave::Uploader::Base
# Override the directory where uploaded files will be stored.
# This is a sensible default for uploaders that are meant to be mounted:
def store_dir
"/home/ubuntu/workspace/app/uploaders"
end
# Provide a default URL as a default if there hasn't been a file uploaded: