mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixed validation issues in the "Configuring Rails Applications" guide [ci skip]
erb tag wasn't closed well
This commit is contained in:
parent
1b5e6fc291
commit
87cfb63dbc
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ And can reference in the view with the following code:
|
|||
|
||||
<erb>
|
||||
<%= render @post %>
|
||||
<erb>
|
||||
</erb>
|
||||
|
||||
The default setting is +true+, which uses the partial at +/admin/posts/_post.erb+. Setting the value to +false+ would render +/posts/_post.erb+, which is the same behavior as rendering from a non-namespaced controller such as +PostsController+.
|
||||
|
||||
|
|
Loading…
Reference in a new issue