phcscriptcdnpro 3.4.1 → 3.4.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b83f2c8dca202382aeaf7f06b03068330d5850b5
|
4
|
+
data.tar.gz: 11ed62a50a42782e1457efc16b5c0fa353865b1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 678df85efc748585cb614f53f4c15775bb1a9365ef68f3bc7dc3589bdf83ad5ac49c54dcd39885629373273f2a23094565a2eaa827fe45d266a789af7b42fb38
|
7
|
+
data.tar.gz: 2a9a2ee8417051998edf3938a27f9664f979068b66f10de2f83933b707fc89411705e1f86309a97a32078908207753412d706646e8d09d6fada7c44ddf0734aa
|
@@ -29,7 +29,7 @@ module Phcscriptcdnpro
|
|
29
29
|
def create
|
30
30
|
@script_listing = Script::Listing.new(script_listing_params)
|
31
31
|
if @script_listing.save
|
32
|
-
redirect_to
|
32
|
+
redirect_to script_listings_path, notice: 'Listing was successfully created.'
|
33
33
|
else
|
34
34
|
render :new
|
35
35
|
end
|
@@ -38,7 +38,7 @@ module Phcscriptcdnpro
|
|
38
38
|
# PATCH/PUT - Script Listings
|
39
39
|
def update
|
40
40
|
if @script_listing.update(script_listing_params)
|
41
|
-
redirect_to
|
41
|
+
redirect_to script_listings_path, notice: 'Listing was successfully updated.'
|
42
42
|
else
|
43
43
|
render :edit
|
44
44
|
end
|
@@ -47,7 +47,7 @@ module Phcscriptcdnpro
|
|
47
47
|
# DELETE - Script Listings
|
48
48
|
def destroy
|
49
49
|
@script_listing.destroy
|
50
|
-
redirect_to
|
50
|
+
redirect_to script_listings_path, notice: 'Listing was successfully destroyed.'
|
51
51
|
end
|
52
52
|
|
53
53
|
private
|