aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-10-24 15:14:22 +0200
committerXavier Noria <fxn@hashref.com>2010-10-24 16:21:20 +0200
commit739fda3f0a4922579dc7c0533533bc1b6e1bd6f7 (patch)
tree495fac9af95a1c155a83229865845b2c006e053e /railties/guides
parent5685a5c41c770903b4c01af2508cd448108a036c (diff)
downloadrails-739fda3f0a4922579dc7c0533533bc1b6e1bd6f7.tar.gz
rails-739fda3f0a4922579dc7c0533533bc1b6e1bd6f7.tar.bz2
rails-739fda3f0a4922579dc7c0533533bc1b6e1bd6f7.zip
removes the toolbar from guides code blocks
Diffstat (limited to 'railties/guides')
-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 22d402ad21..03d23976a0 100644
--- a/railties/guides/rails_guides/generator.rb
+++ b/railties/guides/rails_guides/generator.rb
@@ -223,7 +223,7 @@ module RailsGuides
code_blocks.push(<<HTML)
<notextile>
<div class="code_container">
-<pre class="brush: #{brush}; gutter: false">
+<pre class="brush: #{brush}; gutter: false; toolbar: false">
#{ERB::Util.h($2).chomp}
</pre>
</div>