op_cart 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/op_cart/orders_controller.rb +3 -1
- data/lib/op_cart/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acc1a907ed0e858beedc4a38a92e5c278d96cc41
|
4
|
+
data.tar.gz: 5a05671770297b5dca47749e30384452d09cd885
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34a8a8b78fa5a77f37717470acc62f1e3eef4f88de860432d22841071abd58d18f7554662257bb1bc6b259ab98dfbceb88dcb700706c9ae8c790b1e935100f5a
|
7
|
+
data.tar.gz: fe4c9aa4074d6e4cac9bab94e149b02541831dde788f0f483f30c397c0a88f7f97f6daee86b175f5940a14b3715cf2e0e1850938497d8bb356958fcf0dba84ba
|
@@ -2,7 +2,9 @@ module OpCart
|
|
2
2
|
class OrdersController < ApplicationController
|
3
3
|
# before_action :authenticate_user!, only: [:show, :edit, :update, :destroy]
|
4
4
|
before_action :set_order, only: [:show, :edit, :update, :destroy]
|
5
|
-
|
5
|
+
if defined? decorates_assigned
|
6
|
+
decorates_assigned :order, :orders, :products, :plan, :user, :card, :shipping_address
|
7
|
+
end
|
6
8
|
|
7
9
|
def new
|
8
10
|
@products = Product.all
|
data/lib/op_cart/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: op_cart
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Boehs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|