aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/rails_guides/helpers.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-03-30 23:02:05 +0200
committerXavier Noria <fxn@hashref.com>2010-03-30 23:02:05 +0200
commit0fc1f92ac9ca9ec5d399c652b3f82b044d17ab6c (patch)
treeb5a7a6c5c9c5af32775e12811f47cc87422849c4 /railties/guides/rails_guides/helpers.rb
parent155f0be16ba4600e61e331b00e67d281e0550172 (diff)
downloadrails-0fc1f92ac9ca9ec5d399c652b3f82b044d17ab6c.tar.gz
rails-0fc1f92ac9ca9ec5d399c652b3f82b044d17ab6c.tar.bz2
rails-0fc1f92ac9ca9ec5d399c652b3f82b044d17ab6c.zip
<%=izes and adds doctype to guides
Diffstat (limited to 'railties/guides/rails_guides/helpers.rb')
-rw-r--r--railties/guides/rails_guides/helpers.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/rails_guides/helpers.rb b/railties/guides/rails_guides/helpers.rb
index e05793d40e..bf99538696 100644
--- a/railties/guides/rails_guides/helpers.rb
+++ b/railties/guides/rails_guides/helpers.rb
@@ -9,7 +9,7 @@ module RailsGuides
end
result << content_tag(:dd, capture(&block))
- concat(result)
+ result
end
def lh(id, label = "Lighthouse Ticket")
@@ -23,7 +23,7 @@ module RailsGuides
result = content_tag(:img, nil, :src => image, :class => 'left pic', :alt => name)
result << content_tag(:h3, name)
result << content_tag(:p, capture(&block))
- concat content_tag(:div, result, :class => 'clearfix', :id => nick)
+ content_tag(:div, result, :class => 'clearfix', :id => nick)
end
def code(&block)