aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/app/controllers/active_storage/variants_controller.rb
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-08-13 21:39:38 +0930
committerGitHub <noreply@github.com>2017-08-13 21:39:38 +0930
commit4ec5b7610dc040c616b6d058cc23c5af887ec221 (patch)
tree4e6dafd8144b0762e5d196781e26c2b940ba9299 /activestorage/app/controllers/active_storage/variants_controller.rb
parentc8c20290419ad2f4b60df0297ace22b8f7f40f2b (diff)
parentd02844f2499be488d262bc274530ec44e242fd70 (diff)
downloadrails-4ec5b7610dc040c616b6d058cc23c5af887ec221.tar.gz
rails-4ec5b7610dc040c616b6d058cc23c5af887ec221.tar.bz2
rails-4ec5b7610dc040c616b6d058cc23c5af887ec221.zip
Merge pull request #30211 from koic/frozen_activestorage
Use frozen string literal in Active Storage
Diffstat (limited to 'activestorage/app/controllers/active_storage/variants_controller.rb')
-rw-r--r--activestorage/app/controllers/active_storage/variants_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activestorage/app/controllers/active_storage/variants_controller.rb b/activestorage/app/controllers/active_storage/variants_controller.rb
index b72b0ff7f5..02e3010626 100644
--- a/activestorage/app/controllers/active_storage/variants_controller.rb
+++ b/activestorage/app/controllers/active_storage/variants_controller.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
# Take a signed permanent reference for a variant and turn it into an expiring service URL for download.
# Note: These URLs are publicly accessible. If you need to enforce access protection beyond the
# security-through-obscurity factor of the signed blob and variation reference, you'll need to implement your own