blocky 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/blocky/content_blocks_controller.rb +6 -2
- data/lib/blocky/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: 418331b90f4e8620c0578dff9e84b903535b8b3e
|
4
|
+
data.tar.gz: 055cc625632c94cdb677fee4de8743f62d2bb0f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4618675dd5a587209faeb487691fa7c537bd92112a13d4c9e9e1bb8e701d1c53e1760abfb9024579e2a7abfe3052bfaefd97529e1d729776279c623c00b474d
|
7
|
+
data.tar.gz: f8ea91e40da05f9c06e0be1e160890b1850bce2aa1aea5a44cffda27fd4e3bea95483293e1367036d8c8db7740e9638932f0b22fbbbdb1d84b087914d7e98ddc
|
@@ -28,14 +28,18 @@ module Blocky
|
|
28
28
|
format.html {
|
29
29
|
redirect_to(content_blocks_url, notice: "Content block :#{@content_block.name} was updated successfully.")
|
30
30
|
}
|
31
|
-
format.json
|
31
|
+
format.json {
|
32
|
+
render action: :show
|
33
|
+
}
|
32
34
|
end
|
33
35
|
else
|
34
36
|
respond_to do |format|
|
35
37
|
format.html {
|
36
38
|
render action: :edit
|
37
39
|
}
|
38
|
-
format.json
|
40
|
+
format.json {
|
41
|
+
render json: @content_block.errors, status: :unprocessable_entity
|
42
|
+
}
|
39
43
|
end
|
40
44
|
end
|
41
45
|
end
|
data/lib/blocky/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blocky
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Pattison
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|