Skip to content

Commit b4ccee7

Browse files
Merge pull request rails#43111 from ceritium/active-storage-overview-consistent-links
Fix links inconsistency on Active Storage overview guide [ci-skip]
2 parents 47f9e67 + 8fb2123 commit b4ccee7

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

guides/source/active_storage_overview.md

Lines changed: 6 additions & 7 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
@@ -721,10 +720,10 @@ config.active_storage.draw_routes = false
721720

722721
to prevent files being accessed with the publicly accessible URLs.
723722

724-
[`ActiveStorage::Blobs::RedirectController`]: https://github.com/rails/rails/blob/main/activestorage/app/controllers/active_storage/blobs/redirect_controller.rb
725-
[`ActiveStorage::Blobs::ProxyController`]: https://github.com/rails/rails/blob/main/activestorage/app/controllers/active_storage/blobs/proxy_controller.rb
726-
[`ActiveStorage::Representations::RedirectController`]: https://github.com/rails/rails/blob/main/activestorage/app/controllers/active_storage/representations/redirect_controller.rb
727-
[`ActiveStorage::Representations::ProxyController`]: https://github.com/rails/rails/blob/main/activestorage/app/controllers/active_storage/representations/proxy_controller.rb
723+
[`ActiveStorage::Blobs::RedirectController`]: https://api.rubyonrails.org/classes/ActiveStorage/Blobs/RedirectController.html
724+
[`ActiveStorage::Blobs::ProxyController`]: https://api.rubyonrails.org/classes/ActiveStorage/Blobs/ProxyController.html
725+
[`ActiveStorage::Representations::RedirectController`]: https://api.rubyonrails.org/classes/ActiveStorage/Representations/RedirectController.html
726+
[`ActiveStorage::Representations::ProxyController`]: https://api.rubyonrails.org/classes/ActiveStorage/Representations/ProxyController.html
728727

729728
Downloading Files
730729
-----------------
@@ -1388,7 +1387,7 @@ Implementing Support for Other Cloud Services
13881387

13891388
If you need to support a cloud service other than these, you will need to
13901389
implement the Service. Each service extends
1391-
[`ActiveStorage::Service`](https://github.com/rails/rails/blob/main/activestorage/lib/active_storage/service.rb)
1390+
[`ActiveStorage::Service`](https://api.rubyonrails.org/classes/ActiveStorage/Service.html)
13921391
by implementing the methods necessary to upload and download files to the cloud.
13931392

13941393
Purging Unattached Uploads

0 commit comments

Comments
 (0)