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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 43954ec2b539fb090fd9f853c3cd279dc272f729
4
- data.tar.gz: 9178e33342cc9b20f080242311585f0725f542b7
3
+ metadata.gz: 98a1b3103ee3bad919e7ec1cd7dab7315f1ef6bb
4
+ data.tar.gz: 06632c9730765aa8d074bdea7144e1a6e44b47c7
5
5
  SHA512:
6
- metadata.gz: 886133e7f979135c289b8b2a2bd59e1cc818534e713b600eeeaded0a3f288762756744dce45ee9538f6db007c1fd5f688cfe68d7898360d90764eb87f63c2a02
7
- data.tar.gz: 3e4f849dcc38b9e46b7b259e3124794d56bce9d40546b1dc725d662c555b093ee74eb1034590e3ee03306e318deb9d857ebc0b84fde63c8ee90925ebeff8f4df
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::InformationController < ApplicationController
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
- @scriptcdn_information = Scriptcdn::Information.all
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 scriptcdn_information_index_url, notice: 'Information was successfully created.'
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 scriptcdn_information_index_url, notice: 'Information was successfully updated.'
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 scriptcdn_information_index_url, notice: 'Information was successfully destroyed.'
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 @scriptcdn_main, notice: 'Script was successfully created.'
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 @scriptcdn_main, notice: 'Script was successfully updated.'
42
+ redirect_to scriptcdn_mains_url, notice: 'Script was successfully updated.'
43
43
  else
44
44
  render :edit
45
45
  end
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "1.7.8"
2
+ VERSION = "1.7.9"
3
3
  end
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.8
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/information_controller.rb
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/information/_form.html.erb
444
- - app/views/phcscriptcdnpro/scriptcdn/information/edit.html.erb
445
- - app/views/phcscriptcdnpro/scriptcdn/information/index.html.erb
446
- - app/views/phcscriptcdnpro/scriptcdn/information/new.html.erb
447
- - app/views/phcscriptcdnpro/scriptcdn/information/show.html.erb
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