Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

specify image dimensions for pictures in the guides credits page

  • Loading branch information...
commit aedc627f0692c782176350466ae61e5df70718de 1 parent 639dca4
@fxn fxn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/guides/rails_guides/helpers.rb
View
2  railties/guides/rails_guides/helpers.rb
@@ -15,7 +15,7 @@ def guide(name, url, options = {}, &block)
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)
Please sign in to comment.
Something went wrong with that request. Please try again.