Skip to content

Instantly share code, notes, and snippets.

@sadjow
Created February 7, 2013 20:33
Show Gist options
  • Save sadjow/4733930 to your computer and use it in GitHub Desktop.
Save sadjow/4733930 to your computer and use it in GitHub Desktop.
AddThis HAML Buttons
%a.addthis_button_facebook_like{"addthis:url" => product_url(p), "fb:like:layout" => "button_count"}
%a.addthis_button_tweet{'tw:text' => "#{p.name} #{app_title}: #{product_url(p)}"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment