Skip to content

Instantly share code, notes, and snippets.

@sbeam
Created September 30, 2010 23:39
Show Gist options
  • Save sbeam/605509 to your computer and use it in GitHub Desktop.
Save sbeam/605509 to your computer and use it in GitHub Desktop.
<% flash[:notice] = nil %>
$("li.cart-indicator").html('<%= link_to_cart %>');
alert('<%= t("item_added_to_cart") %>');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment