Explorar el Código

Fixed typo in module name and added missing end.

master
Nils Dittberner hace 9 años
padre
commit
5282b5f13f
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      app/controllers/concerns/current_cart.rb

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

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

Cargando…
Cancelar
Guardar