mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix comment about layout folders lookup
This commit is contained in:
parent
3288107d30
commit
2562404624
1 changed files with 2 additions and 2 deletions
|
@ -136,8 +136,8 @@ module AbstractController
|
|||
# layout "weblog_standard"
|
||||
# end
|
||||
#
|
||||
# If no directory is specified for the template name, the template will by default be looked for in <tt>app/views/layouts/</tt>.
|
||||
# Otherwise, it will be looked up relative to the template root.
|
||||
# The template will be looked always in <tt>app/views/layouts/</tt> folder. But you can point
|
||||
# <tt>layouts</tt> folder direct also. <tt>layout "layouts/demo"</tt> is the same as <tt>layout "demo"</tt>.
|
||||
#
|
||||
# Setting the layout to nil forces it to be looked up in the filesystem and fallbacks to the parent behavior if none exists.
|
||||
# Setting it to nil is useful to re-enable template lookup overriding a previous configuration set in the parent:
|
||||
|
|
Loading…
Reference in a new issue