safety_cone 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/safety_cone/paths_controller.rb +1 -1
- data/lib/safety_cone/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: f633e0a61e40e0af50bfe44015f03bc8e1c63e1d
|
4
|
+
data.tar.gz: 2939c578e9ed553eb4868d8ca88e370ae90960f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ea802c8374329f7b9d84d964c0440ab5352592039478b5602c3a56e7a268f8731aae0704f1e6d580335026d0dd3a66d708d707d2d738fcc7cf92a04e087edf2
|
7
|
+
data.tar.gz: 6de4f6e1222adba8dfee3b423e8f8397e9d9d71e0e23dc06e239418943e196b787ea0cbfde97c1c6252bf2206111c83c4d1c63591e6116e8ceb08f66c6b04c73
|
@@ -10,7 +10,7 @@ module SafetyCone
|
|
10
10
|
|
11
11
|
def update
|
12
12
|
path = SafetyCone.paths[params[:id].to_sym]
|
13
|
-
mereged_params = path.merge(params[:path].symbolize_keys)
|
13
|
+
mereged_params = path.merge(params[:path].as_json.symbolize_keys)
|
14
14
|
Path.new(params[:id], mereged_params).save
|
15
15
|
|
16
16
|
redirect_to cones_path
|
data/lib/safety_cone/version.rb
CHANGED