phcscriptcdnpro 1.7.8 → 1.7.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/phcscriptcdnpro/scriptcdn/{information_controller.rb → informations_controller.rb} +5 -5
- data/app/controllers/phcscriptcdnpro/scriptcdn/mains_controller.rb +2 -2
- data/app/views/phcscriptcdnpro/scriptcdn/{information → informations}/_form.html.erb +0 -0
- data/app/views/phcscriptcdnpro/scriptcdn/{information → informations}/edit.html.erb +0 -0
- data/app/views/phcscriptcdnpro/scriptcdn/{information → informations}/index.html.erb +0 -0
- data/app/views/phcscriptcdnpro/scriptcdn/{information → informations}/new.html.erb +0 -0
- data/app/views/phcscriptcdnpro/scriptcdn/{information → informations}/show.html.erb +0 -0
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98a1b3103ee3bad919e7ec1cd7dab7315f1ef6bb
|
4
|
+
data.tar.gz: 06632c9730765aa8d074bdea7144e1a6e44b47c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 915c0c0e5b748b856a3abd0583f53f0992391de5ec1cd930bbadb52438d6c28cbf38abef3aa7291efa9cb678c9c2731e1420d970058b1f25abc876f89da145c9
|
7
|
+
data.tar.gz: 9e0a612c5fd802866f9e8838c94e80f30b5b1109b6933666c42f8a8273441c6791a41e669fe4245c999455a4980875565ce05f83d718edda6b1850b3801fed28
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require_dependency "phcscriptcdnpro/application_controller"
|
2
2
|
|
3
3
|
module Phcscriptcdnpro
|
4
|
-
class Scriptcdn::
|
4
|
+
class Scriptcdn::InformationsController < ApplicationController
|
5
5
|
|
6
6
|
# Security & Action Filters
|
7
7
|
before_action :require_user
|
@@ -10,7 +10,7 @@ module Phcscriptcdnpro
|
|
10
10
|
|
11
11
|
# Script Information Index
|
12
12
|
def index
|
13
|
-
@
|
13
|
+
@scriptcdn_informations = Scriptcdn::Information.all
|
14
14
|
end
|
15
15
|
|
16
16
|
# New Script Information
|
@@ -27,7 +27,7 @@ module Phcscriptcdnpro
|
|
27
27
|
@scriptcdn_information = Scriptcdn::Information.new(scriptcdn_information_params)
|
28
28
|
|
29
29
|
if @scriptcdn_information.save
|
30
|
-
redirect_to
|
30
|
+
redirect_to scriptcdn_informations_url, notice: 'Information was successfully created.'
|
31
31
|
else
|
32
32
|
render :new
|
33
33
|
end
|
@@ -36,7 +36,7 @@ module Phcscriptcdnpro
|
|
36
36
|
# PATCH/PUT Script Information
|
37
37
|
def update
|
38
38
|
if @scriptcdn_information.update(scriptcdn_information_params)
|
39
|
-
redirect_to
|
39
|
+
redirect_to scriptcdn_informations_url, notice: 'Information was successfully updated.'
|
40
40
|
else
|
41
41
|
render :edit
|
42
42
|
end
|
@@ -45,7 +45,7 @@ module Phcscriptcdnpro
|
|
45
45
|
# DELETE Script Information
|
46
46
|
def destroy
|
47
47
|
@scriptcdn_information.destroy
|
48
|
-
redirect_to
|
48
|
+
redirect_to scriptcdn_informations_url, notice: 'Information was successfully destroyed.'
|
49
49
|
end
|
50
50
|
|
51
51
|
private
|
@@ -30,7 +30,7 @@ module Phcscriptcdnpro
|
|
30
30
|
def create
|
31
31
|
@scriptcdn_main = Scriptcdn::Main.new(scriptcdn_main_params)
|
32
32
|
if @scriptcdn_main.save
|
33
|
-
redirect_to
|
33
|
+
redirect_to scriptcdn_mains_url, notice: 'Script was successfully created.'
|
34
34
|
else
|
35
35
|
render :new
|
36
36
|
end
|
@@ -39,7 +39,7 @@ module Phcscriptcdnpro
|
|
39
39
|
# PATCH/PUT Script
|
40
40
|
def update
|
41
41
|
if @scriptcdn_main.update(scriptcdn_main_params)
|
42
|
-
redirect_to
|
42
|
+
redirect_to scriptcdn_mains_url, notice: 'Script was successfully updated.'
|
43
43
|
else
|
44
44
|
render :edit
|
45
45
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcscriptcdnpro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
@@ -419,7 +419,7 @@ files:
|
|
419
419
|
- app/controllers/phcscriptcdnpro/application_controller.rb
|
420
420
|
- app/controllers/phcscriptcdnpro/frontend/cdnpages_controller.rb
|
421
421
|
- app/controllers/phcscriptcdnpro/scriptcdn/authors_controller.rb
|
422
|
-
- app/controllers/phcscriptcdnpro/scriptcdn/
|
422
|
+
- app/controllers/phcscriptcdnpro/scriptcdn/informations_controller.rb
|
423
423
|
- app/controllers/phcscriptcdnpro/scriptcdn/mains_controller.rb
|
424
424
|
- app/controllers/phcscriptcdnpro/scriptcdn/urls_controller.rb
|
425
425
|
- app/controllers/phcscriptcdnpro/scriptcdn/versions_controller.rb
|
@@ -440,11 +440,11 @@ files:
|
|
440
440
|
- app/views/phcscriptcdnpro/scriptcdn/authors/edit.html.erb
|
441
441
|
- app/views/phcscriptcdnpro/scriptcdn/authors/index.html.erb
|
442
442
|
- app/views/phcscriptcdnpro/scriptcdn/authors/new.html.erb
|
443
|
-
- app/views/phcscriptcdnpro/scriptcdn/
|
444
|
-
- app/views/phcscriptcdnpro/scriptcdn/
|
445
|
-
- app/views/phcscriptcdnpro/scriptcdn/
|
446
|
-
- app/views/phcscriptcdnpro/scriptcdn/
|
447
|
-
- app/views/phcscriptcdnpro/scriptcdn/
|
443
|
+
- app/views/phcscriptcdnpro/scriptcdn/informations/_form.html.erb
|
444
|
+
- app/views/phcscriptcdnpro/scriptcdn/informations/edit.html.erb
|
445
|
+
- app/views/phcscriptcdnpro/scriptcdn/informations/index.html.erb
|
446
|
+
- app/views/phcscriptcdnpro/scriptcdn/informations/new.html.erb
|
447
|
+
- app/views/phcscriptcdnpro/scriptcdn/informations/show.html.erb
|
448
448
|
- app/views/phcscriptcdnpro/scriptcdn/mains/_form.html.erb
|
449
449
|
- app/views/phcscriptcdnpro/scriptcdn/mains/edit.html.erb
|
450
450
|
- app/views/phcscriptcdnpro/scriptcdn/mains/index.html.erb
|