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:
parent
2075adabad
commit
201156b6a9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue