From d0a9174d55fe39f6c1dcbec9df684aeea691b21d Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 22 Jul 2017 09:39:42 -0500 Subject: [PATCH] Move storage_services.yml to config for consistency --- {lib/active_storage => config}/storage_services.yml | 0 lib/tasks/activestorage.rake | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {lib/active_storage => config}/storage_services.yml (100%) diff --git a/lib/active_storage/storage_services.yml b/config/storage_services.yml similarity index 100% rename from lib/active_storage/storage_services.yml rename to config/storage_services.yml diff --git a/lib/tasks/activestorage.rake b/lib/tasks/activestorage.rake index ea83707224..2fba4eaa8d 100644 --- a/lib/tasks/activestorage.rake +++ b/lib/tasks/activestorage.rake @@ -7,7 +7,7 @@ namespace :activestorage do FileUtils.mkdir_p Rails.root.join("tmp/storage") puts "Made storage and tmp/storage directories for development and testing" - FileUtils.cp File.expand_path("../../active_storage/storage_services.yml", __FILE__), Rails.root.join("config") + FileUtils.cp File.expand_path("../../../config/storage_services.yml", __FILE__), Rails.root.join("config") puts "Copied default configuration to config/storage_services.yml" migration_file_path = "db/migrate/#{Time.now.utc.strftime("%Y%m%d%H%M%S")}_active_storage_create_tables.rb"