Add local activestorage
This commit is contained in:
parent
519b865c84
commit
d143f42d24
3 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
7
config/storage.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
local:
|
||||
service: Disk
|
||||
root: <%= Rails.root.join("storage") %>
|
||||
|
||||
test:
|
||||
service: Disk
|
||||
root: <%= Rails.root.join("tmp/storage") %>
|
Loading…
Reference in a new issue