mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fixes undefined method keys for nil:NilClass error while generating guides
This commit is contained in:
parent
acd5395877
commit
836b7787f5
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ module RailsGuides
|
|||
body = set_header_section(body, @view)
|
||||
body = set_index(body, @view)
|
||||
|
||||
result = view.render(:layout => 'layout', :text => textile(body))
|
||||
result = view.render(:layout => 'layout', :text => textile(body), :locals => {})
|
||||
f.write result
|
||||
warn_about_broken_links(result) if ENV.key?("WARN_BROKEN_LINKS")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue