소스 검색

Fixed typo in module name and added missing end.

master
Nils Dittberner 9 년 전
부모
커밋
5282b5f13f
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      app/controllers/concerns/current_cart.rb

+ 2
- 1
app/controllers/concerns/current_cart.rb 파일 보기

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

불러오는 중...
취소
저장