caboose-cms 0.8.27 → 0.8.28

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e3435fa031a12ae5c47493b0b81e271a1f817e6
4
- data.tar.gz: 6dcc4123384e36efbb31e74e946fd532276a7e1f
3
+ metadata.gz: 898e18f9790a7c3110f8d2d59f983e955950d658
4
+ data.tar.gz: e400e077e9dbec6e3c6eda2820d97c3b7721f87e
5
5
  SHA512:
6
- metadata.gz: 1b18ad562923b1f66a20864dc9ec909e8b6371422a06248b4fd462debba933dd30897f09a69d0889604aaefd864cf671fc1b1204f69c416bc9f6586b5f9d9ee3
7
- data.tar.gz: 14c8fb8d0ff356c37401401b68872739345ae2b5b91f73bed1d1e51508b61e729557b0e2d9ba1d030e90aeacce59019a568194730e46faa7024a16bf8bf14aff
6
+ metadata.gz: 02d0cebf8e6cca22bd71ea12ebb19dc1fb90b23b1259f0d232d7703594b86d97d48f5f92c185a53cfe707e878f4106f8bc9930bf1464ef7e5fe0992567cfc6f3
7
+ data.tar.gz: 0c492ed0ae23a7a745fb23494e29d28d749216853b3cf047fb5b9e8604ab894a6dbc4bb9dc387bc90ea288446a25240bf3de8f6df54eadeb77b60c4269d10b88
@@ -516,6 +516,9 @@ module Caboose
516
516
 
517
517
  v.save
518
518
 
519
+ resp.new_id = p.id
520
+ resp.new_variant_id = v.id
521
+ resp.success = true
519
522
  resp.redirect = "/admin/products/#{p.id}/general"
520
523
  end
521
524
  render :json => resp
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.8.27'
2
+ VERSION = '0.8.28'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.27
4
+ version: 0.8.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-21 00:00:00.000000000 Z
11
+ date: 2016-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg