]> source.dussan.org Git - gitignore.git/commitdiff
Add /public/uploads for file upload gem Shrine (#3333)
authorMetaJuanito Fatas <juanitofatas@gmail.com>
Wed, 11 Mar 2020 12:54:02 +0000 (21:54 +0900)
committerGitHub <noreply@github.com>
Wed, 11 Mar 2020 12:54:02 +0000 (09:54 -0300)
When using a file upload gem called Shrine, its file system mode put images under `public/uploads`.

https://github.com/shrinerb/shrine/blob/053bcf297e092e9695731fb9b67a86780e898203/doc/storage/file_system.md

Rails.gitignore

index 8969914f0110600487a34fc8067b3dc87bb1ed41..ae9df644840cee7efd1122b33fffd802eeef6529 100644 (file)
@@ -66,3 +66,4 @@ yarn-debug.log*
 # Ignore uploaded files in development
 /storage/*
 !/storage/.keep
+/public/uploads