mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
Use local storage in development mode.
This commit is contained in:
parent
ccc282f422
commit
0088c3db80
@ -9,7 +9,7 @@ Dragonfly.app.configure do
|
||||
|
||||
url_format "/media/:job/:name"
|
||||
|
||||
if Rails.env.test?
|
||||
if %w[development test].include? Rails.env
|
||||
datastore :file,
|
||||
root_path: Rails.root.join('public/system/dragonfly', Rails.env),
|
||||
server_root: Rails.root.join('public')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user