Skip to content

Commit

Permalink
Merge pull request #21 from leopku/master
Browse files Browse the repository at this point in the history
add sharing image to renren
  • Loading branch information
huacnlee committed Aug 25, 2013
2 parents 15e2d50 + b7cd12b commit c3021be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/social-share-button.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ window.SocialShareButton =
when "kaixin001"
SocialShareButton.openUrl("http://www.kaixin001.com/rest/records.php?url=#{url}&content=#{title}&style=11&pic=#{img}")
when "renren"
SocialShareButton.openUrl("http://widget.renren.com/dialog/share?resourceUrl=#{url}&title=#{title}&description=")
SocialShareButton.openUrl("http://widget.renren.com/dialog/share?resourceUrl=#{url}&srcUrl=#{url}&title=#{title}&pic=#{img}&description=")
when "google_plus"
SocialShareButton.openUrl("https://plus.google.com/share?url=#{url}&t=#{title}")
when "google_bookmark"
Expand Down

0 comments on commit c3021be

Please sign in to comment.