This commit is contained in:
@@ -81,6 +81,8 @@ Railsgoat::Application.configure do
|
|||||||
# Rake tasks automatically ignore this option for performance.
|
# Rake tasks automatically ignore this option for performance.
|
||||||
config.eager_load = true
|
config.eager_load = true
|
||||||
|
|
||||||
|
config.active_storage.service = :production
|
||||||
|
|
||||||
# For Rails 4.0+: Use default logging formatter so that PID and timestamp are not suppressed.
|
# For Rails 4.0+: Use default logging formatter so that PID and timestamp are not suppressed.
|
||||||
config.log_formatter = ::Logger::Formatter.new
|
config.log_formatter = ::Logger::Formatter.new
|
||||||
|
|
||||||
|
|||||||
@@ -5,3 +5,7 @@ test:
|
|||||||
local:
|
local:
|
||||||
service: Disk
|
service: Disk
|
||||||
root: <%= Rails.root.join("storage") %>
|
root: <%= Rails.root.join("storage") %>
|
||||||
|
|
||||||
|
production:
|
||||||
|
service: Disk
|
||||||
|
root: <%= Rails.root.join("storage") %>
|
||||||
|
|||||||
Reference in New Issue
Block a user