aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-08-10 13:04:20 +0900
committerGitHub <noreply@github.com>2017-08-10 13:04:20 +0900
commit6c7a29729aa78853d9c8fb5315e5a05207ec1447 (patch)
tree868573a44e33299b6ff893c44b00bbbb7728b6f6
parent3645263237bed08bb3edcb8cc7fc2284f02b58a1 (diff)
parent7cfa80f81222c72753d2a8a47da425a2179e0b59 (diff)
downloadrails-6c7a29729aa78853d9c8fb5315e5a05207ec1447.tar.gz
rails-6c7a29729aa78853d9c8fb5315e5a05207ec1447.tar.bz2
rails-6c7a29729aa78853d9c8fb5315e5a05207ec1447.zip
Merge pull request #30174 from qsona/storage
Fix a typo in code comment [ci skip]
-rw-r--r--activestorage/app/models/active_storage/variant.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/app/models/active_storage/variant.rb b/activestorage/app/models/active_storage/variant.rb
index e3f22bcb25..ab9d3ad999 100644
--- a/activestorage/app/models/active_storage/variant.rb
+++ b/activestorage/app/models/active_storage/variant.rb
@@ -54,7 +54,7 @@ class ActiveStorage::Variant
# Returns the URL of the variant on the service. This URL is intended to be short-lived for security and not used directly
# with users. Instead, the `service_url` should only be exposed as a redirect from a stable, possibly authenticated URL.
# Hiding the `service_url` behind a redirect also gives you the power to change services without updating all URLs. And
- # it allows permanent URLs that redirec to the `service_url` to be cached in the view.
+ # it allows permanent URLs that redirect to the `service_url` to be cached in the view.
#
# Use `url_for(variant)` (or the implied form, like `link_to variant` or `redirect_to variant`) to get the stable URL
# for a variant that points to the `ActiveStorage::VariantsController`, which in turn will use this `#service_call` method