kkt_shoppe 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/kkt_shoppe/orders_controller.rb +1 -1
- data/lib/kkt_shoppe/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77f6316a5c4da9a9cd003c1842c9f0697165a9f0
|
4
|
+
data.tar.gz: d57a3255fb5eb0507a138bf79d118d10933b0b95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2eef25284f9e3727f77941ee935ab6684628a6cdf5320959c578c96ae872e9565255d729736f09e7996c4e7882bef3ac30157012d13a255a78cf6144706d3e0a
|
7
|
+
data.tar.gz: 3b78cd88d13df245ece2457da0d48cd8251cd75c7ed6ae39c323f89764846a75e6dda4074e563ee91a8e6fe37fcbc0bfc234b899dab9817a3275b2b4e828deb1
|
@@ -19,7 +19,7 @@ module KktShoppe
|
|
19
19
|
@order = KktShoppe::Order.new(safe_params)
|
20
20
|
@order.status = 'confirming'
|
21
21
|
|
22
|
-
if safe_params[:customer_id]
|
22
|
+
if !safe_params[:customer_id].empty?
|
23
23
|
@customer = KktShoppe::Customer.find safe_params[:customer_id]
|
24
24
|
@order.first_name = @customer.first_name
|
25
25
|
@order.last_name = @customer.last_name
|
data/lib/kkt_shoppe/version.rb
CHANGED