Merge pull request #42518 from ashiksp/fix-wrong-reference

[ci skip] Fixed wrong reference link in active storage guide.
This commit is contained in:
Zachary Scott 2021-06-17 12:49:16 +09:00 committed by GitHub
commit 7893428113
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -561,7 +561,7 @@ even if a `before_action` in your `ApplicationController` would otherwise
require a login. If your files require a higher level of protection consider require a login. If your files require a higher level of protection consider
implementing your own authenticated implementing your own authenticated
[`ActiveStorage::Blobs::RedirectController`](ActiveStorage::Blobs::RedirectController) and [`ActiveStorage::Blobs::RedirectController`](ActiveStorage::Blobs::RedirectController) and
[`ActiveStorage::Representations::RedirectController`](ActiveStorage::Blobs::RedirectController) [`ActiveStorage::Representations::RedirectController`](ActiveStorage::Representations::RedirectController)
To create a download link, use the `rails_blob_{path|url}` helper. Using this To create a download link, use the `rails_blob_{path|url}` helper. Using this
helper allows you to set the disposition. helper allows you to set the disposition.