mirror of https://github.com/rails/rails
Update builder doc links to point to the rails repo [ci skip]
After reviewing the Action View Overview guide, a discussion started around the builder gem that was detailed in the guide. We decided to move it to the rails/ umbrella so we can help maintain it as needed, since the framework uses/documents it, keeping it similar to jbuilder. https://github.com/rails/rails/pull/51435#discussion_r1556390070
This commit is contained in:
parent
7db95ced41
commit
d462fb54b4
|
@ -153,8 +153,7 @@ module ActionView # :nodoc:
|
|||
# end
|
||||
# end
|
||||
#
|
||||
# For more information on Builder please consult the {source
|
||||
# code}[https://github.com/jimweirich/builder].
|
||||
# For more information on Builder please consult the {source code}[https://github.com/rails/builder].
|
||||
class Base
|
||||
include Helpers, ::ERB::Util, Context
|
||||
|
||||
|
|
|
@ -86,8 +86,8 @@ has a `.erb` extension, it uses embedded Ruby to build an HTML response. If the
|
|||
template has a `.jbuilder` extension, it uses the
|
||||
[Jbuilder](https://github.com/rails/jbuilder) gem to build a JSON response. And
|
||||
a template with a `.builder` extension uses the
|
||||
[`Builder::XmlMarkup`](https://github.com/jimweirich/builder) library to build
|
||||
an XML response.
|
||||
[`Builder::XmlMarkup`](https://github.com/rails/builder) library to build an XML
|
||||
response.
|
||||
|
||||
Rails uses the file extension to distinguish among multiple template systems.
|
||||
For example, an HTML file using the ERB template system will have `.html.erb` as
|
||||
|
@ -213,8 +213,7 @@ would produce something like:
|
|||
</div>
|
||||
```
|
||||
|
||||
See [Builder documentation](https://github.com/jimweirich/builder) for more
|
||||
examples.
|
||||
See [Builder documentation](https://github.com/rails/builder) for more examples.
|
||||
|
||||
### Template Compilation
|
||||
|
||||
|
|
Loading…
Reference in New Issue