1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Adding missing space to documentation of the layout method. Closes #7126 [orangechicken, jeremymcanally]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Marcel Molina 2007-12-05 22:19:10 +00:00
parent 5af446346a
commit 57c9630944

View file

@ -165,7 +165,7 @@ module ActionController #:nodoc:
# variable. The preferred notation now is to use <tt>yield</tt>, as documented above. # variable. The preferred notation now is to use <tt>yield</tt>, as documented above.
module ClassMethods module ClassMethods
# If a layout is specified, all rendered actions will have their result rendered # If a layout is specified, all rendered actions will have their result rendered
# when the layout<tt>yield</tt>'s. This layout can itself depend on instance variables assigned during action # when the layout <tt>yield</tt>s. This layout can itself depend on instance variables assigned during action
# performance and have access to them as any normal template would. # performance and have access to them as any normal template would.
def layout(template_name, conditions = {}, auto = false) def layout(template_name, conditions = {}, auto = false)
add_layout_conditions(conditions) add_layout_conditions(conditions)