SpreeAjaxCart
Add link_to_ajax_cart helper for Spree
Basic Installation
- Add the following to your Gemfile
gem 'spree_ajax_cart', '~> 1.2.0'
- Run
bundle install
- To copy and apply migrations run:
rails g spree_ajax_cart:install
Example
- add new link to cart nav menu:
<%= link_to_ajax_cart("Custom Text") %>
Copyright (c) 2012 [Damiano Giacomello], released under the New BSD License