aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2009-10-10 23:00:58 +0200
committerXavier Noria <fxn@hashref.com>2009-10-10 23:00:58 +0200
commit8fcf2347b254dda3c4b6200c60264cfab7012afe (patch)
tree09e04f25c171129d49bc0c3d634929a7f075c25b
parent2b2de865944c1b3565411da42a7da5760f7146d2 (diff)
downloadrails-8fcf2347b254dda3c4b6200c60264cfab7012afe.tar.gz
rails-8fcf2347b254dda3c4b6200c60264cfab7012afe.tar.bz2
rails-8fcf2347b254dda3c4b6200c60264cfab7012afe.zip
removes a no longer needed workaround in the guides generator
-rw-r--r--railties/guides/rails_guides/generator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/rails_guides/generator.rb b/railties/guides/rails_guides/generator.rb
index 341f570251..48714d5208 100644
--- a/railties/guides/rails_guides/generator.rb
+++ b/railties/guides/rails_guides/generator.rb
@@ -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), :locals => {})
+ result = view.render(:layout => 'layout', :text => textile(body))
f.write result
warn_about_broken_links(result) if ENV.key?("WARN_BROKEN_LINKS")
end