Skip to content

Commit 194eb75

Browse files
authored
Merge pull request rails#55068 from tekin/active-storage-guide-correction
Correct ActiveStorage guide phrasing
2 parents c7c72ee + bd5fe53 commit 194eb75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/source/active_storage_overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,8 @@ require a higher level of protection consider implementing
693693

694694
### Redirect Mode
695695

696-
To generate a permanent URL for a blob, you can pass the blob to the
697-
[`url_for`][ActionView::RoutingUrlFor#url_for] view helper. This generates a
696+
To generate a permanent URL for a blob, you can pass the attachment or the blob to
697+
the [`url_for`][ActionView::RoutingUrlFor#url_for] view helper. This generates a
698698
URL with the blob's [`signed_id`][ActiveStorage::Blob#signed_id]
699699
that is routed to the blob's [`RedirectController`][`ActiveStorage::Blobs::RedirectController`]
700700

0 commit comments

Comments
 (0)