Browse files

cleaning end of image_url string

  • Loading branch information...
1 parent 6a8bfb5 commit 8a72791a166266977d060b8acdd987dc69410235 @smudge committed Feb 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/kickstarter/project.rb
View
2 lib/kickstarter/project.rb
@@ -39,7 +39,7 @@ def owner
end
def image_url
- @image_url ||= details_page.css('#video-section img').attr('src').value
+ @image_url ||= details_page.css('#video-section img').attr('src').value.split('?').first
end
def currency

0 comments on commit 8a72791

Please sign in to comment.