aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
Diffstat (limited to 'activestorage')
-rw-r--r--activestorage/lib/active_storage/service/disk_service.rb4
-rw-r--r--activestorage/lib/tasks/activestorage.rake2
2 files changed, 3 insertions, 3 deletions
diff --git a/activestorage/lib/active_storage/service/disk_service.rb b/activestorage/lib/active_storage/service/disk_service.rb
index 0e38f88138..1d121dcb6c 100644
--- a/activestorage/lib/active_storage/service/disk_service.rb
+++ b/activestorage/lib/active_storage/service/disk_service.rb
@@ -84,8 +84,8 @@ module ActiveStorage
content_length: content_length,
checksum: checksum
},
- expires_in: expires_in,
- purpose: :blob_token
+ { expires_in: expires_in,
+ purpose: :blob_token }
)
generated_url =
diff --git a/activestorage/lib/tasks/activestorage.rake b/activestorage/lib/tasks/activestorage.rake
index 746bc5b28a..ef923e5926 100644
--- a/activestorage/lib/tasks/activestorage.rake
+++ b/activestorage/lib/tasks/activestorage.rake
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-namespace :activestorage do
+namespace :active_storage do
desc "Copy over the migration needed to the application"
task install: :environment do
Rake::Task["active_storage:install:migrations"].invoke