added correct path to ignore for uploads
This commit is contained in:
parent
695a93ddad
commit
6410b68ea4
2 changed files with 1 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -11,4 +11,3 @@ gpg/diaspora-development/*.gpg
|
||||||
gpg/diaspora-production/*.gpg
|
gpg/diaspora-production/*.gpg
|
||||||
gpg/*/random_seed
|
gpg/*/random_seed
|
||||||
public/uploads/*
|
public/uploads/*
|
||||||
public/public/*
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ class ImageUploader < CarrierWave::Uploader::Base
|
||||||
storage :file
|
storage :file
|
||||||
|
|
||||||
def store_dir
|
def store_dir
|
||||||
"public/uploads"
|
"uploads"
|
||||||
end
|
end
|
||||||
|
|
||||||
def extension_white_list
|
def extension_white_list
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue