Ver a proveniência

Fixed typo in module name and added missing end.

master
Nils Dittberner há 9 anos
ascendente
cometimento
5282b5f13f
1 ficheiros alterados com 2 adições e 1 eliminações
  1. +2
    -1
      app/controllers/concerns/current_cart.rb

+ 2
- 1
app/controllers/concerns/current_cart.rb Ver ficheiro

@@ -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

Carregando…
Cancelar
Guardar