Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use correct size for govtrack photos

  • Loading branch information...
commit 14b44d5cfcce534d8280141fd683a048ff40a2e9 1 parent efc8a8c
Shay Arnett and Veezus Kreist and Jason Whaley authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.