cyrax 0.5.14 → 0.5.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cyrax/helpers/controller.rb +1 -0
- data/lib/cyrax/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d1b6765085639d4473934d340f48c3dd72d519e3837b5af945dbdcd8c74ae89
|
4
|
+
data.tar.gz: 6239d1cf32f003eb211d3d3bafdb8fcbf441abaaafbd4140367c535664af518d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59dc7b1b3207e35a7c5c27aff5e84fec4fdcbc35d0521bb73923c33109156c6c57a346806924cdcff7d71e2a886cd81e94cc260a017d515b52a4c74c38828d8d
|
7
|
+
data.tar.gz: '097ccfc3c5d7ba33098dd565da4c04813f082e5da11dff300c55e7908125507c64c1218cb3db35d944e0e8f79bc9c92bf5b777cef6a82f48eecd545d6b8a3187'
|
@@ -24,6 +24,7 @@ module Cyrax::ControllerHelper
|
|
24
24
|
flash.now[:error] = options[:error] if options[:error].present?
|
25
25
|
end
|
26
26
|
set_resource_from(response)
|
27
|
+
super(result, options, &block)
|
27
28
|
end
|
28
29
|
format.json do
|
29
30
|
render json: MultiJson.dump(response.as_json), status: options[:status] || 200
|
data/lib/cyrax/version.rb
CHANGED