aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/active_storage
diff options
context:
space:
mode:
authorMike Gunderloy <MikeG1@larkfarm.com>2017-07-24 15:20:33 -0500
committerGeorge Claghorn <george.claghorn@gmail.com>2017-07-24 16:20:33 -0400
commit87cb0063742f9d5672f69f623be8fe1dee79b223 (patch)
tree857e656bbeeb86a81bfbe66a8c609034e0db0656 /app/models/active_storage
parent3eb8c89c0410fac34aefc8b89b8c6b5901c39415 (diff)
downloadrails-87cb0063742f9d5672f69f623be8fe1dee79b223.tar.gz
rails-87cb0063742f9d5672f69f623be8fe1dee79b223.tar.bz2
rails-87cb0063742f9d5672f69f623be8fe1dee79b223.zip
Trivial typo fix
Only one character, but it needs to be done
Diffstat (limited to 'app/models/active_storage')
-rw-r--r--app/models/active_storage/blob.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/active_storage/blob.rb b/app/models/active_storage/blob.rb
index 7e388f69ba..6a7836b9e5 100644
--- a/app/models/active_storage/blob.rb
+++ b/app/models/active_storage/blob.rb
@@ -107,7 +107,7 @@ class ActiveStorage::Blob < ActiveRecord::Base
# Returns the URL of the blob 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.
def service_url(expires_in: 5.minutes, disposition: :inline)
service.url key, expires_in: expires_in, disposition: disposition, filename: filename, content_type: content_type
end