Skip to content
Browse files

Use correct size for govtrack photos

  • Loading branch information...
1 parent efc8a8c commit 14b44d5cfcce534d8280141fd683a048ff40a2e9 Shay Arnett and Veezus Kreist and Jason Whaley committed Dec 12, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/congress_person.rb
View
2 lib/congress_person.rb
@@ -158,7 +158,7 @@ def photo(options={})
end
def govtrack_photo
- url = "/govtrack/photos/#{govtrack_id}.jpeg"
+ url = "/govtrack/photos/#{govtrack_id}-200px.jpeg"
url = default_photo_path(:size => 'large') unless File.exists?(RAILS_ROOT + "/public" + url)
url
end

0 comments on commit 14b44d5

Please sign in to comment.
Something went wrong with that request. Please try again.