Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removes a no longer needed workaround in the guides generator

  • Loading branch information...
commit 8fcf2347b254dda3c4b6200c60264cfab7012afe 1 parent 2b2de86
@fxn fxn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/guides/rails_guides/generator.rb
View
2  railties/guides/rails_guides/generator.rb
@@ -55,7 +55,7 @@ def generate_guide(guide)
body = set_header_section(body, @view)
body = set_index(body, @view)
- result = view.render(:layout => 'layout', :text => textile(body), :locals => {})
+ result = view.render(:layout => 'layout', :text => textile(body))
f.write result
warn_about_broken_links(result) if ENV.key?("WARN_BROKEN_LINKS")
end
Please sign in to comment.
Something went wrong with that request. Please try again.