Add local activestorage

This commit is contained in:
Eric Schultz 2020-04-23 17:51:49 -05:00 committed by Eric
parent 519b865c84
commit d143f42d24
3 changed files with 11 additions and 0 deletions

View file

@ -88,4 +88,6 @@ Rails.application.configure do
# SASS Helpers
config.sass.inline_source_maps = true
config.sass.line_comments = false
config.active_storage.service = :local
end

View file

@ -48,4 +48,6 @@ Commitchange::Application.configure do
#recommended by https://github.com/grosser/parallel_tests/wiki
config.cache_store = :file_store, Rails.root.join("tmp", "cache", "paralleltests#{ENV['TEST_ENV_NUMBER']}")
config.active_storage.service = :test
end

7
config/storage.yml Normal file
View file

@ -0,0 +1,7 @@
local:
service: Disk
root: <%= Rails.root.join("storage") %>
test:
service: Disk
root: <%= Rails.root.join("tmp/storage") %>