From d4f86e8f41ac0dc81da930c5eaeb4754e8c3d742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Fr=C3=A9mont?= Date: Mon, 6 Jan 2020 15:25:53 +0100 Subject: [PATCH] Fix capistrano media directory --- etc/capistrano/deploy.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/capistrano/deploy.rb b/etc/capistrano/deploy.rb index 18ae6fa..48adf6f 100644 --- a/etc/capistrano/deploy.rb +++ b/etc/capistrano/deploy.rb @@ -47,9 +47,9 @@ set :pty, true append :linked_files, fetch(:web_path) + '/robots.txt' -append :linked_dirs, fetch(:web_path) + '/uploads', fetch(:web_path) + '/media' +append :linked_dirs, fetch(:web_path) + '/media' -set :file_permissions_paths, ["var", "public/uploads"] +set :file_permissions_paths, ["var", "public/media"] set :file_permissions_users, ["app_name"] set :permission_method, :acl