class CartController < ApplicationController def add_item @cart = current_cart @cart.add Item.find_by_string_id(params[:workingItem]) render :action => "show" end def remove @cart = current_cart @cart.remove params[:workingItem] render :action => "show" end def show @cart = current_cart end def summary @cart = current_cart end def update @cart = current_cart @cart.update_quantities ParamFilter.select_item_quantities(params) render :action => "show" end end