Skip to content

Commit 8fb2123

Browse files
committed
Change links from github.com to api.rubyonrails.org
The guide's guidelines do not mention anything against linking to the Github repo, but it describes [how to link][] to api.rubyonrails.org works. So I guess that it's better to link "api.rubyonrails.org" when is possible, for instance: classes, modules, and methods. [how to link]: https://guides.rubyonrails.org/ruby_on_rails_guides_guidelines.html#linking-to-the-api
1 parent dfd9e6a commit 8fb2123

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

guides/source/active_storage_overview.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -720,10 +720,10 @@ config.active_storage.draw_routes = false
720720

721721
to prevent files being accessed with the publicly accessible URLs.
722722

723-
[`ActiveStorage::Blobs::RedirectController`]: https://github.com/rails/rails/blob/main/activestorage/app/controllers/active_storage/blobs/redirect_controller.rb
724-
[`ActiveStorage::Blobs::ProxyController`]: https://github.com/rails/rails/blob/main/activestorage/app/controllers/active_storage/blobs/proxy_controller.rb
725-
[`ActiveStorage::Representations::RedirectController`]: https://github.com/rails/rails/blob/main/activestorage/app/controllers/active_storage/representations/redirect_controller.rb
726-
[`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
727727

728728
Downloading Files
729729
-----------------
@@ -1386,7 +1386,7 @@ Implementing Support for Other Cloud Services
13861386

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

13921392
Purging Unattached Uploads

0 commit comments

Comments
 (0)