aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/rails_guides
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-06-04 14:25:54 +0200
committerXavier Noria <fxn@hashref.com>2011-06-04 14:25:54 +0200
commitcd8ecec31f9574c618abd4a090ed6d84b34830a3 (patch)
tree90de95b4d2963f27d5c4a364ac9c9e9665cace31 /railties/guides/rails_guides
parenta50865c7dcc0827ea843d04a58e91acce9bf2c0e (diff)
downloadrails-cd8ecec31f9574c618abd4a090ed6d84b34830a3.tar.gz
rails-cd8ecec31f9574c618abd4a090ed6d84b34830a3.tar.bz2
rails-cd8ecec31f9574c618abd4a090ed6d84b34830a3.zip
specify image dimensions for pictures in the guides credits page
Diffstat (limited to 'railties/guides/rails_guides')
-rw-r--r--railties/guides/rails_guides/helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/rails_guides/helpers.rb b/railties/guides/rails_guides/helpers.rb
index d466c76c7c..463df8a7a8 100644
--- a/railties/guides/rails_guides/helpers.rb
+++ b/railties/guides/rails_guides/helpers.rb
@@ -15,7 +15,7 @@ module RailsGuides
def author(name, nick, image = 'credits_pic_blank.gif', &block)
image = "images/#{image}"
- result = content_tag(:img, nil, :src => image, :class => 'left pic', :alt => name)
+ result = content_tag(:img, nil, :src => image, :class => 'left pic', :alt => name, :width => 91, :height => 91)
result << content_tag(:h3, name)
result << content_tag(:p, capture(&block))
content_tag(:div, result, :class => 'clearfix', :id => nick)