Przeglądaj źródła

Fixed typo in module name and added missing end.

master
Nils Dittberner 9 lat temu
rodzic
commit
5282b5f13f
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      app/controllers/concerns/current_cart.rb

+ 2
- 1
app/controllers/concerns/current_cart.rb Wyświetl plik

@@ -1,4 +1,4 @@
module CurrentCard
module CurrentCart

private
def set_cart
@@ -6,4 +6,5 @@ module CurrentCard
rescue ActiveRecord::RecordNotFound
@cart = Cart.create
session[:cart_id] = @cart.id
end
end

Ładowanie…
Anuluj
Zapisz