phcscriptcdnpro 1.12.0 → 1.12.1

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: a4c6e3cf76d49f360b2a8476e550fb6de3c77400
4
- data.tar.gz: 079e3ae2835a9b92ae677cb44940f29db7af0510
3
+ metadata.gz: c717ecf511fcca1eb8e19b677bc90cf18c2df737
4
+ data.tar.gz: 427ad9529946eeb5f6417a825541e51f58fea872
5
5
  SHA512:
6
- metadata.gz: adff9d362afa4f092b041d1d59ab75cfd276ad7581ff0c67310100bbb6c1c74f178883bccca3843f3729a92b754dc488215f89f97f8ba7205ab51c417656db4c
7
- data.tar.gz: b0b13cf137c9dc36b315019b2b6dbaedd92774afc84cfcac158423dcfb7a98a931f1d0560f0daa3f810d6b36545b089608b8403df90949eafaff4e6d9bd3d311
6
+ metadata.gz: 5bac0ee5974e1c512fa9c01ac617308b1962995f288b8231679974dd3a2a69d23258a92f5b80258c27de3771238cb8ee060d4aeae5e2a37ff281567ef3753618
7
+ data.tar.gz: e33419c0db70d533ba3609aa1453e1561599f49b6049c1220371c14579cfb9ca7d904adaa05514590a19ec394b92897b0971a36c4e83911386c30285db4cf9f2
@@ -31,7 +31,7 @@ module Phcscriptcdnpro
31
31
  @scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
32
32
  @scriptcdn_author = @scriptcdn_main.authors.create(scriptcdn_author_params)
33
33
  if @scriptcdn_author.save
34
- redirect_to scriptcdn_main_authors_url, notice: 'Author was successfully created.'
34
+ redirect_to scriptcdn_main_authors_path, notice: 'Author was successfully created.'
35
35
  else
36
36
  render :new
37
37
  end
@@ -40,7 +40,7 @@ module Phcscriptcdnpro
40
40
  # PATCH/PUT Author
41
41
  def update
42
42
  if @scriptcdn_author.update(scriptcdn_author_params)
43
- redirect_to scriptcdn_main_authors_url, notice: 'Author was successfully updated.'
43
+ redirect_to scriptcdn_main_authors_path, notice: 'Author was successfully updated.'
44
44
  else
45
45
  render :edit
46
46
  end
@@ -51,7 +51,7 @@ module Phcscriptcdnpro
51
51
  @scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
52
52
  @scriptcdn_author = @scriptcdn_main.authors.find(params[:id])
53
53
  @scriptcdn_author.destroy
54
- redirect_to scriptcdn_main_authors_url, notice: 'Author was successfully destroyed.'
54
+ redirect_to scriptcdn_main_authors_path, notice: 'Author was successfully destroyed.'
55
55
  end
56
56
 
57
57
  private
@@ -31,7 +31,7 @@ module Phcscriptcdnpro
31
31
  @scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
32
32
  @scriptcdn_information = @scriptcdn_main.informations.create(scriptcdn_information_params)
33
33
  if @scriptcdn_information.save
34
- redirect_to scriptcdn_main_informations_url, notice: 'Information was successfully created.'
34
+ redirect_to scriptcdn_main_informations_path, notice: 'Information was successfully created.'
35
35
  else
36
36
  render :new
37
37
  end
@@ -40,7 +40,7 @@ module Phcscriptcdnpro
40
40
  # PATCH/PUT Script Information
41
41
  def update
42
42
  if @scriptcdn_information.update(scriptcdn_information_params)
43
- redirect_to scriptcdn_main_informations_url, notice: 'Information was successfully updated.'
43
+ redirect_to scriptcdn_main_informations_path, notice: 'Information was successfully updated.'
44
44
  else
45
45
  render :edit
46
46
  end
@@ -51,7 +51,7 @@ module Phcscriptcdnpro
51
51
  @scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
52
52
  @scriptcdn_information = @scriptcdn_main.informations.find(params[:id])
53
53
  @scriptcdn_information.destroy
54
- redirect_to scriptcdn_main_informations_url, notice: 'Information was successfully destroyed.'
54
+ redirect_to scriptcdn_main_informations_path, notice: 'Information was successfully destroyed.'
55
55
  end
56
56
 
57
57
  private
@@ -26,7 +26,7 @@ module Phcscriptcdnpro
26
26
  def create
27
27
  @scriptcdn_main = Scriptcdn::Main.new(scriptcdn_main_params)
28
28
  if @scriptcdn_main.save
29
- redirect_to scriptcdn_mains_url, notice: 'Script was successfully created.'
29
+ redirect_to scriptcdn_mains_path, notice: 'Script was successfully created.'
30
30
  else
31
31
  render :new
32
32
  end
@@ -35,7 +35,7 @@ module Phcscriptcdnpro
35
35
  # PATCH/PUT Script
36
36
  def update
37
37
  if @scriptcdn_main.update(scriptcdn_main_params)
38
- redirect_to scriptcdn_mains_url, notice: 'Script was successfully updated.'
38
+ redirect_to scriptcdn_mains_path, notice: 'Script was successfully updated.'
39
39
  else
40
40
  render :edit
41
41
  end
@@ -44,7 +44,7 @@ module Phcscriptcdnpro
44
44
  # DELETE Script
45
45
  def destroy
46
46
  @scriptcdn_main.destroy
47
- redirect_to scriptcdn_mains_url, notice: 'Main was successfully destroyed.'
47
+ redirect_to scriptcdn_mains_path, notice: 'Main was successfully destroyed.'
48
48
  end
49
49
 
50
50
  private
@@ -31,7 +31,7 @@ module Phcscriptcdnpro
31
31
  @scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
32
32
  @scriptcdn_version = @scriptcdn_main.versions.create(scriptcdn_version_params)
33
33
  if @scriptcdn_version.save
34
- redirect_to scriptcdn_main_versions_url, notice: 'Script version was successfully created.'
34
+ redirect_to scriptcdn_main_versions_path, notice: 'Script version was successfully created.'
35
35
  else
36
36
  render :new
37
37
  end
@@ -40,7 +40,7 @@ module Phcscriptcdnpro
40
40
  # PATCH/PUT Script Version
41
41
  def update
42
42
  if @scriptcdn_version.update(scriptcdn_version_params)
43
- redirect_to scriptcdn_main_versions_url, notice: 'Script version was successfully updated.'
43
+ redirect_to scriptcdn_main_versions_path, notice: 'Script version was successfully updated.'
44
44
  else
45
45
  render :edit
46
46
  end
@@ -51,7 +51,7 @@ module Phcscriptcdnpro
51
51
  @scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
52
52
  @scriptcdn_version = @scriptcdn_main.versions.find(params[:id])
53
53
  @scriptcdn_version.destroy
54
- redirect_to scriptcdn_main_versions_url, notice: 'Script version was successfully destroyed.'
54
+ redirect_to scriptcdn_main_versions_path, notice: 'Script version was successfully destroyed.'
55
55
  end
56
56
 
57
57
  private
@@ -34,7 +34,7 @@
34
34
  </div>
35
35
 
36
36
  <div class="portlet-body">
37
- <%= render 'form' %>
37
+ <%= render 'formpatch' %>
38
38
  </div>
39
39
 
40
40
  </div>
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "1.12.0"
2
+ VERSION = "1.12.1"
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.12.0
4
+ version: 1.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts