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

add second t to overwritten

fixing a misspelling in the documentation
This commit is contained in:
Evan Travers 2012-07-12 11:21:09 -05:00
parent 2075adabad
commit 201156b6a9

View file

@ -26,11 +26,11 @@ module ActionView
# Encapsulates the interaction with the view flow so it
# returns the correct buffer on +yield+. This is usually
# overwriten by helpers to add more behavior.
# overwritten by helpers to add more behavior.
# :api: plugin
def _layout_for(name=nil)
name ||= :layout
view_flow.get(name).html_safe
end
end
end
end