Skip to content

Commit 4c6481f

Browse files
committed
Replace link to the line on Github with Rdoc link
The previous link tries to point to the exact line where a method is defined. This link is weak and will point to a different place if someone adds or removes code in that file. As a solution, the link will point to the method documentation on rdoc.info
1 parent 87b7ca3 commit 4c6481f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

guides/source/rails_application_templates.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,10 @@ Advanced Usage
271271
--------------
272272

273273
The application template is evaluated in the context of a
274-
`Rails::Generators::AppGenerator` instance. It uses the `apply` action
275-
provided by
276-
[Thor](https://github.com/erikhuda/thor/blob/master/lib/thor/actions.rb#L207).
274+
`Rails::Generators::AppGenerator` instance. It uses the
275+
[`apply`](https://rdoc.info/github/wycats/thor/Thor/Actions#apply-instance_method)
276+
action provided by Thor.
277+
277278
This means you can extend and change the instance to match your needs.
278279

279280
For example by overwriting the `source_paths` method to contain the

0 commit comments

Comments
 (0)