This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
nils
/
rails5-depot
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fixed typo in module name and added missing end.
master
Nils Dittberner
9 years ago
parent
02258c07dd
commit
5282b5f13f
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
app/controllers/concerns/current_cart.rb
+ 2
- 1
app/controllers/concerns/current_cart.rb
View File
@@ -1,4 +1,4 @@
module CurrentCar
d
module CurrentCar
t
private
def set_cart
@@ -6,4 +6,5 @@ module CurrentCard
rescue ActiveRecord::RecordNotFound
@cart = Cart.create
session[:cart_id] = @cart.id
end
end
Write
Preview
Loading…
Cancel
Save