Skip to content

Commit

Permalink
Fix error in AJAX cart item removal.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelsey Langlois and LDevinMacKrell committed Dec 7, 2017
1 parent 80e4997 commit f9cc3ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion app/controllers/carts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ class CartsController < ApplicationController
def show
@cart = current_cart
@rainchecked = current_raincheck
@quotes = Currency.get_exchange_rates
end
end
2 changes: 1 addition & 1 deletion app/views/order_items/_order_item.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<li class="order-item-<%= item.id %>">
<li id="order-item-<%= item.id %>">
<%= item.quantity %>
<%= link_to item.product.name, product_path(item.product) %>
$<%= item.reserved_price %> each |
Expand Down

0 comments on commit f9cc3ee

Please sign in to comment.