1
0
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:
Daniel Barber 2015-03-15 08:42:17 +00:00
parent ccc282f422
commit 0088c3db80

View File

@ -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')