1
0
Fork 0
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:
Alexey Vakhov 2012-03-09 19:28:38 +04:00
parent 3288107d30
commit 2562404624

View file

@ -136,8 +136,8 @@ module AbstractController
# layout "weblog_standard" # layout "weblog_standard"
# end # end
# #
# If no directory is specified for the template name, the template will by default be looked for in <tt>app/views/layouts/</tt>. # The template will be looked always in <tt>app/views/layouts/</tt> folder. But you can point
# Otherwise, it will be looked up relative to the template root. # <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 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: # Setting it to nil is useful to re-enable template lookup overriding a previous configuration set in the parent: