wco_models 3.1.0.170 → 3.1.0.171
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/wco/sitemap_paths_controller.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: 66737c644955f970c966767c341218bb5653237c02aef76ac85e6414b570cef0
|
4
|
+
data.tar.gz: b2cad5216e5b01e85866c156ac24595788045191b7dc401e6748dc049dff6a86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eadbacdec9622b2a3d41c99e08fa81c8b60a87f21712474605b00f857d91a7f647e8f9fc7f27a28adeb87aac4ab9149bcf0417386a61485dcc6e7ec39932d7e3
|
7
|
+
data.tar.gz: '018ba6ad23b019bb30c1e73fda6c74d9cf509dd841817697df3c89c137b587b0b0c658aa504afdcf59eb49114256fce72fea0b4135ad45cc5ba97b9a6e8e3358'
|
@@ -34,7 +34,7 @@ class Wco::SitemapPathsController < Wco::ApplicationController
|
|
34
34
|
def update
|
35
35
|
@spath = Wco::SitemapPath.find params[:id]
|
36
36
|
authorize! :update, @spath
|
37
|
-
flag = @spath.update params[:
|
37
|
+
flag = @spath.update params[:spath].permit!
|
38
38
|
if flag
|
39
39
|
flash_notice 'Success'
|
40
40
|
redirect_to site_path(@spath.site)
|