Skip to content

Commit dfd9e6a

Browse files
committed
Keep RedirectController links consistent.
There are two links defined to RedirectController, with backticks and without them. This commit removes the link without backticks for the sake of consistency as discussed here: https://github.com/rails/rails/pull/42703/files#r667270569
1 parent af7428c commit dfd9e6a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

guides/source/active_storage_overview.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,9 +586,8 @@ require a higher level of protection consider implementing
586586
To generate a permanent URL for a blob, you can pass the blob to the
587587
[`url_for`][ActionView::RoutingUrlFor#url_for] view helper. This generates a
588588
URL with the blob's [`signed_id`][ActiveStorage::Blob#signed_id]
589-
that is routed to the blob's [`RedirectController`][ActiveStorage::Blobs::RedirectController]
589+
that is routed to the blob's [`RedirectController`][`ActiveStorage::Blobs::RedirectController`]
590590

591-
[ActiveStorage::Blobs::RedirectController]: https://github.com/rails/rails/blob/main/activestorage/app/controllers/active_storage/blobs/redirect_controller.rb
592591
```ruby
593592
url_for(user.avatar)
594593
# => /rails/active_storage/blobs/:signed_id/my-avatar.png

0 commit comments

Comments
 (0)