phcscriptcdnpro 1.10.1 → 1.11.0
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/informations_controller.rb +11 -5
- data/app/controllers/phcscriptcdnpro/scriptcdn/mains_controller.rb +1 -1
- data/app/controllers/phcscriptcdnpro/scriptcdn/versions_controller.rb +11 -4
- data/app/models/phcscriptcdnpro/scriptcdn/information.rb +0 -1
- data/app/models/phcscriptcdnpro/scriptcdn/url.rb +0 -1
- data/app/models/phcscriptcdnpro/scriptcdn/version.rb +1 -2
- data/app/views/phcscriptcdnpro/api/mains/index.json.rabl +13 -1
- data/app/views/phcscriptcdnpro/scriptcdn/informations/edit.html.erb +1 -1
- data/app/views/phcscriptcdnpro/scriptcdn/informations/index.html.erb +6 -6
- data/app/views/phcscriptcdnpro/scriptcdn/informations/new.html.erb +1 -1
- data/app/views/phcscriptcdnpro/scriptcdn/informations/show.html.erb +1 -2
- data/app/views/phcscriptcdnpro/scriptcdn/mains/_form.html.erb +3 -7
- data/app/views/phcscriptcdnpro/scriptcdn/versions/_form.html.erb +1 -1
- data/app/views/phcscriptcdnpro/scriptcdn/versions/_formpatch.html.erb +13 -0
- data/app/views/phcscriptcdnpro/scriptcdn/versions/edit.html.erb +2 -2
- data/app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb +4 -4
- data/app/views/phcscriptcdnpro/scriptcdn/versions/new.html.erb +1 -1
- data/config/routes.rb +2 -4
- data/db/migrate/20160618200955_create_phcscriptcdnpro_scriptcdn_urls.rb +0 -1
- data/db/migrate/20160618201418_create_phcscriptcdnpro_scriptcdn_mains.rb +1 -2
- data/db/migrate/20160618201703_create_phcscriptcdnpro_scriptcdn_versions.rb +2 -0
- data/db/migrate/20160620233512_create_phcscriptcdnpro_scriptcdn_information.rb +0 -1
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +3 -8
- data/app/controllers/phcscriptcdnpro/api/informations_controller.rb +0 -22
- data/app/controllers/phcscriptcdnpro/api/versions_controller.rb +0 -22
- data/app/views/phcscriptcdnpro/api/informations/index.json.rabl +0 -2
- data/app/views/phcscriptcdnpro/api/informations/show.json.rabl +0 -2
- data/app/views/phcscriptcdnpro/api/versions/index.json.rabl +0 -3
- data/app/views/phcscriptcdnpro/api/versions/show.json.rabl +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 522b1bbdd1311f8e7ae58d0c4f8df7e3ee586cde
|
4
|
+
data.tar.gz: b9485151919b65b9f1103c6cab65857e93959523
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7af3529e19f93dfff66727b6024f9c6b24d0b12e9a1474731487b11f72b00407c42dee6706c7eb7f004c473ab7ebe105600f25ccd3219ffc59b02f21e5af910c
|
7
|
+
data.tar.gz: 5faf96cbfd9fe7436503ffa47ca10ae3c8287b0d25ac5ea3f3227e5ca8ff37d1dc6c65e774528e8285d311ce89287a8e5c14b545424945fbe42b9f6f0e33bbbc
|
@@ -10,22 +10,26 @@ module Phcscriptcdnpro
|
|
10
10
|
|
11
11
|
# Script Information Index
|
12
12
|
def index
|
13
|
-
|
13
|
+
scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
14
|
+
@scriptcdn_informations = scriptcdn_main.informations
|
14
15
|
end
|
15
16
|
|
16
17
|
# New Script Information
|
17
18
|
def new
|
18
|
-
|
19
|
+
scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
20
|
+
@scriptcdn_information = scriptcdn_main.informations.build
|
19
21
|
end
|
20
22
|
|
21
23
|
# Edit Script Information
|
22
24
|
def edit
|
25
|
+
scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
26
|
+
@scriptcdn_information = scriptcdn_main.informations.find(params[:id])
|
23
27
|
end
|
24
28
|
|
25
29
|
# POST Script Information
|
26
30
|
def create
|
27
|
-
@
|
28
|
-
|
31
|
+
@scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
32
|
+
@scriptcdn_information = @scriptcdn_main.informations.create(scriptcdn_information_params)
|
29
33
|
if @scriptcdn_information.save
|
30
34
|
redirect_to scriptcdn_informations_url, notice: 'Information was successfully created.'
|
31
35
|
else
|
@@ -44,6 +48,8 @@ module Phcscriptcdnpro
|
|
44
48
|
|
45
49
|
# DELETE Script Information
|
46
50
|
def destroy
|
51
|
+
@scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
52
|
+
@scriptcdn_information = @scriptcdn_main.informations.find(params[:id])
|
47
53
|
@scriptcdn_information.destroy
|
48
54
|
redirect_to scriptcdn_informations_url, notice: 'Information was successfully destroyed.'
|
49
55
|
end
|
@@ -57,7 +63,7 @@ module Phcscriptcdnpro
|
|
57
63
|
|
58
64
|
# Whitelist
|
59
65
|
def scriptcdn_information_params
|
60
|
-
params.require(:scriptcdn_information).permit(:scripttitle, :scriptdescription, :scriptcategory, :scriptwebsite, :scripttwitter, :scriptgithub, :scriptinitialrelease, :scriptlicence, :scriptplatform, :scriptstatus, :
|
66
|
+
params.require(:scriptcdn_information).permit(:scripttitle, :scriptdescription, :scriptcategory, :scriptwebsite, :scripttwitter, :scriptgithub, :scriptinitialrelease, :scriptlicence, :scriptplatform, :scriptstatus, :main_id)
|
61
67
|
end
|
62
68
|
|
63
69
|
end
|
@@ -10,21 +10,26 @@ module Phcscriptcdnpro
|
|
10
10
|
|
11
11
|
# Script Version Index
|
12
12
|
def index
|
13
|
-
|
13
|
+
scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
14
|
+
@scriptcdn_versions = scriptcdn_main.versions
|
14
15
|
end
|
15
16
|
|
16
17
|
# New Script Version
|
17
18
|
def new
|
18
|
-
|
19
|
+
scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
20
|
+
@scriptcdn_version = scriptcdn_main.versions.build
|
19
21
|
end
|
20
22
|
|
21
23
|
# Edit Script Version
|
22
24
|
def edit
|
25
|
+
scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
26
|
+
@scriptcdn_version = scriptcdn_main.versions.find(params[:id])
|
23
27
|
end
|
24
28
|
|
25
29
|
# POST Script Version
|
26
30
|
def create
|
27
|
-
@
|
31
|
+
@scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
32
|
+
@scriptcdn_version = @scriptcdn_main.versions.create(scriptcdn_version_params)
|
28
33
|
if @scriptcdn_version.save
|
29
34
|
redirect_to scriptcdn_versions_url, notice: 'Script version was successfully created.'
|
30
35
|
else
|
@@ -43,6 +48,8 @@ module Phcscriptcdnpro
|
|
43
48
|
|
44
49
|
# DELETE Script Version
|
45
50
|
def destroy
|
51
|
+
@scriptcdn_main = Scriptcdn::Main.find(params[:main_id])
|
52
|
+
@scriptcdn_version = @scriptcdn_main.versions.find(params[:id])
|
46
53
|
@scriptcdn_version.destroy
|
47
54
|
redirect_to scriptcdn_versions_url, notice: 'Script version was successfully destroyed.'
|
48
55
|
end
|
@@ -56,7 +63,7 @@ module Phcscriptcdnpro
|
|
56
63
|
|
57
64
|
# Whitelist
|
58
65
|
def scriptcdn_version_params
|
59
|
-
params.require(:scriptcdn_version).permit(:version)
|
66
|
+
params.require(:scriptcdn_version).permit(:version, :main_id)
|
60
67
|
end
|
61
68
|
|
62
69
|
end
|
@@ -1,2 +1,14 @@
|
|
1
1
|
collection @scriptcdn_mains
|
2
|
-
attributes :id, :version_id, :information_id
|
2
|
+
attributes :id, :version_id, :information_id
|
3
|
+
child :informations do
|
4
|
+
attribute :scripttitle
|
5
|
+
end
|
6
|
+
child :authors do
|
7
|
+
attributes :authorfirstname, :authorlastname
|
8
|
+
end
|
9
|
+
child :urls do
|
10
|
+
attributes :scripturl, :scripturlext
|
11
|
+
end
|
12
|
+
child :versions do
|
13
|
+
attributes :scripturl, :scripturlext
|
14
|
+
end
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
9
|
<li><%= link_to "Scripts Main", phcscriptcdnpro.scriptcdn_mains_path %><i class="fa fa-circle"></i></li>
|
10
|
-
<li><%= link_to "Script Information Index", phcscriptcdnpro.
|
10
|
+
<li><%= link_to "Script Information Index", phcscriptcdnpro.scriptcdn_main_informations_path %><i class="fa fa-circle"></i></li>
|
11
11
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
12
12
|
</ul>
|
13
13
|
|
@@ -28,7 +28,7 @@
|
|
28
28
|
<span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
|
29
29
|
</div>
|
30
30
|
<div class="actions">
|
31
|
-
<%= link_to phcscriptcdnpro.
|
31
|
+
<%= link_to phcscriptcdnpro.new_scriptcdn_main_information_path, class: "btn blue-chambray" do %>
|
32
32
|
<i class="fa fa-plus"></i> Add Script Information to the Database
|
33
33
|
<% end %>
|
34
34
|
</div>
|
@@ -51,11 +51,11 @@
|
|
51
51
|
<tbody>
|
52
52
|
<% @scriptcdn_informations.each do |scriptcdn_information| %>
|
53
53
|
<tr>
|
54
|
-
<td><%= link_to scriptcdn_information.scripttitle,
|
55
|
-
<td><%= link_to scriptcdn_information.scriptcategory,
|
56
|
-
<td><%= link_to scriptcdn_information.scriptlicence,
|
57
|
-
<td><%= link_to scriptcdn_information.scriptplatform,
|
58
|
-
<td><%= link_to 'Destroy',
|
54
|
+
<td><%= link_to scriptcdn_information.scripttitle, edit_scriptcdn_main_information_path(scriptcdn_information.main, scriptcdn_information) %></td>
|
55
|
+
<td><%= link_to scriptcdn_information.scriptcategory, edit_scriptcdn_main_information_path(scriptcdn_information.main, scriptcdn_information) %></td>
|
56
|
+
<td><%= link_to scriptcdn_information.scriptlicence, edit_scriptcdn_main_information_path(scriptcdn_information.main, scriptcdn_information) %></td>
|
57
|
+
<td><%= link_to scriptcdn_information.scriptplatform, edit_scriptcdn_main_information_path(scriptcdn_information.main, scriptcdn_information) %></td>
|
58
|
+
<td><%= link_to 'Destroy', scriptcdn_main_information, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %></td>
|
59
59
|
</tr>
|
60
60
|
<% end %>
|
61
61
|
</tbody>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
9
|
<li><%= link_to "Scripts Main", phcscriptcdnpro.scriptcdn_mains_path %><i class="fa fa-circle"></i></li>
|
10
|
-
<li><%= link_to "Scripts Main", phcscriptcdnpro.
|
10
|
+
<li><%= link_to "Scripts Main", phcscriptcdnpro.scriptcdn_main_informations_path %><i class="fa fa-circle"></i></li>
|
11
11
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
12
12
|
</ul>
|
13
13
|
|
@@ -2,13 +2,9 @@
|
|
2
2
|
|
3
3
|
<%= render 'phcnotifi/validations', :object => @scriptcdn_main %>
|
4
4
|
|
5
|
-
<div class="form-group
|
6
|
-
|
7
|
-
<%=
|
8
|
-
</div>
|
9
|
-
<div class="form-group field_with_errors">
|
10
|
-
<label>Select a Version</label>
|
11
|
-
<%= collection_select(:scriptcdn_main, :version_id, Phcscriptcdnpro::Scriptcdn::Version.order('version'), :id, :version, {}, {class: "form-control"}) %>
|
5
|
+
<div class="form-group field_with_error">
|
6
|
+
<%= f.label :scriptname, "Script Name" %>
|
7
|
+
<%= f.text_field :scriptname, placeholder: "Script Information Website", class: "form-control" %>
|
12
8
|
</div>
|
13
9
|
<div class="form-group field_with_error">
|
14
10
|
<%= f.submit class: "btn blue-hoki" %>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<%= form_for([@scriptcdn_version.main, @scriptcdn_version], url: scriptcdn_main_version_path, method: :patch) do |f| %>
|
2
|
+
|
3
|
+
<%= render 'phcnotifi/validations', :object => @scriptcdn_version %>
|
4
|
+
|
5
|
+
<div class="form-group field_with_error">
|
6
|
+
<%= f.label :version %>
|
7
|
+
<%= f.text_field :version, placeholder: "Script Version", class: "form-control" %>
|
8
|
+
</div>
|
9
|
+
<div class="form-group field_with_error">
|
10
|
+
<%= f.submit class: "btn blue-hoki" %>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<% end %>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
9
|
<li><%= link_to "Script Listings", phcscriptcdnpro.scriptcdn_mains_path %><i class="fa fa-circle"></i></li>
|
10
|
-
<li><%= link_to "Script Versions", phcscriptcdnpro.
|
10
|
+
<li><%= link_to "Script Versions", phcscriptcdnpro.scriptcdn_main_versions_path %><i class="fa fa-circle"></i></li>
|
11
11
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
12
12
|
</ul>
|
13
13
|
|
@@ -34,7 +34,7 @@
|
|
34
34
|
</div>
|
35
35
|
|
36
36
|
<div class="portlet-body">
|
37
|
-
<%= render '
|
37
|
+
<%= render 'formpatch' %>
|
38
38
|
</div>
|
39
39
|
|
40
40
|
</div>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
9
|
<li><%= link_to "Script Listings", phcscriptcdnpro.scriptcdn_mains_path %><i class="fa fa-circle"></i></li>
|
10
|
-
<li><%= link_to "Script Versions", phcscriptcdnpro.
|
10
|
+
<li><%= link_to "Script Versions", phcscriptcdnpro.scriptcdn_main_versions_path %><i class="fa fa-circle"></i></li>
|
11
11
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
12
12
|
</ul>
|
13
13
|
|
@@ -30,7 +30,7 @@
|
|
30
30
|
<span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
|
31
31
|
</div>
|
32
32
|
<div class="actions">
|
33
|
-
<%= link_to
|
33
|
+
<%= link_to new_scriptcdn_main_version_path, class: "btn blue-chambray" do %>
|
34
34
|
<i class="fa fa-plus"></i> Add a New Script Version
|
35
35
|
<% end %>
|
36
36
|
</div>
|
@@ -48,8 +48,8 @@
|
|
48
48
|
<tbody>
|
49
49
|
<% @scriptcdn_versions.each do |scriptcdn_version| %>
|
50
50
|
<tr>
|
51
|
-
<td><%= link_to scriptcdn_version.version,
|
52
|
-
<td><%= link_to 'Destroy',
|
51
|
+
<td><%= link_to scriptcdn_version.version, edit_scriptcdn_main_version_path(scriptcdn_version.main, scriptcdn_version) %></td>
|
52
|
+
<td><%= link_to 'Destroy', scriptcdn_main_version, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %></td>
|
53
53
|
</tr>
|
54
54
|
<% end %>
|
55
55
|
</tbody>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
9
|
<li><%= link_to "Script Listings", phcscriptcdnpro.scriptcdn_mains_path %><i class="fa fa-circle"></i></li>
|
10
|
-
<li><%= link_to "Script Versions", phcscriptcdnpro.
|
10
|
+
<li><%= link_to "Script Versions", phcscriptcdnpro.scriptcdn_main_versions_path %><i class="fa fa-circle"></i></li>
|
11
11
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
12
12
|
</ul>
|
13
13
|
|
data/config/routes.rb
CHANGED
@@ -10,12 +10,10 @@ Phcscriptcdnpro::Engine.routes.draw do
|
|
10
10
|
resources :mains do
|
11
11
|
resources :authors
|
12
12
|
resources :urls
|
13
|
+
resources :versions
|
14
|
+
resources :informations
|
13
15
|
end
|
14
16
|
|
15
|
-
# Script Information
|
16
|
-
resources :versions
|
17
|
-
resources :informations
|
18
|
-
|
19
17
|
end
|
20
18
|
|
21
19
|
# Application API
|
@@ -3,8 +3,7 @@ class CreatePhcscriptcdnproScriptcdnMains < ActiveRecord::Migration
|
|
3
3
|
|
4
4
|
create_table :phcscriptcdnpro_scriptcdn_mains do |t|
|
5
5
|
|
6
|
-
t.
|
7
|
-
t.references :version, index: true
|
6
|
+
t.string :scriptname
|
8
7
|
|
9
8
|
t.string :user_id
|
10
9
|
t.string :membership_id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcscriptcdnpro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -436,9 +436,7 @@ files:
|
|
436
436
|
- app/assets/stylesheets/phcscriptcdnpro/api/versions.scss
|
437
437
|
- app/assets/stylesheets/phcscriptcdnpro/application.css.scss
|
438
438
|
- app/assets/stylesheets/phcscriptcdnpro/custom.scss
|
439
|
-
- app/controllers/phcscriptcdnpro/api/informations_controller.rb
|
440
439
|
- app/controllers/phcscriptcdnpro/api/mains_controller.rb
|
441
|
-
- app/controllers/phcscriptcdnpro/api/versions_controller.rb
|
442
440
|
- app/controllers/phcscriptcdnpro/application_controller.rb
|
443
441
|
- app/controllers/phcscriptcdnpro/frontend/cdnpages_controller.rb
|
444
442
|
- app/controllers/phcscriptcdnpro/scriptcdn/authors_controller.rb
|
@@ -459,12 +457,8 @@ files:
|
|
459
457
|
- app/models/phcscriptcdnpro/scriptcdn/version.rb
|
460
458
|
- app/views/layouts/phcscriptcdnpro/application.html.erb
|
461
459
|
- app/views/layouts/phcscriptcdnpro/frontend.html.erb
|
462
|
-
- app/views/phcscriptcdnpro/api/informations/index.json.rabl
|
463
|
-
- app/views/phcscriptcdnpro/api/informations/show.json.rabl
|
464
460
|
- app/views/phcscriptcdnpro/api/mains/index.json.rabl
|
465
461
|
- app/views/phcscriptcdnpro/api/mains/show.json.rabl
|
466
|
-
- app/views/phcscriptcdnpro/api/versions/index.json.rabl
|
467
|
-
- app/views/phcscriptcdnpro/api/versions/show.json.rabl
|
468
462
|
- app/views/phcscriptcdnpro/frontend/cdnpages/list.html.erb
|
469
463
|
- app/views/phcscriptcdnpro/frontend/cdnpages/listing.html.erb
|
470
464
|
- app/views/phcscriptcdnpro/scriptcdn/authors/_form.html.erb
|
@@ -487,6 +481,7 @@ files:
|
|
487
481
|
- app/views/phcscriptcdnpro/scriptcdn/urls/index.html.erb
|
488
482
|
- app/views/phcscriptcdnpro/scriptcdn/urls/new.html.erb
|
489
483
|
- app/views/phcscriptcdnpro/scriptcdn/versions/_form.html.erb
|
484
|
+
- app/views/phcscriptcdnpro/scriptcdn/versions/_formpatch.html.erb
|
490
485
|
- app/views/phcscriptcdnpro/scriptcdn/versions/edit.html.erb
|
491
486
|
- app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb
|
492
487
|
- app/views/phcscriptcdnpro/scriptcdn/versions/new.html.erb
|
@@ -1,22 +0,0 @@
|
|
1
|
-
require_dependency "phcscriptcdnpro/application_controller"
|
2
|
-
|
3
|
-
module Phcscriptcdnpro
|
4
|
-
class Api::InformationsController < ApplicationController
|
5
|
-
|
6
|
-
# Only Responds to API Requests
|
7
|
-
respond_to :json
|
8
|
-
|
9
|
-
# Directory Category API
|
10
|
-
def index
|
11
|
-
@scriptcdn_informations = Scriptcdn::Information.all
|
12
|
-
respond_to do |format|
|
13
|
-
format.json { render :json => @scriptcdn_informations }
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
def show
|
18
|
-
@scriptcdn_information = Scriptcdn::Information.find(params[:id])
|
19
|
-
end
|
20
|
-
|
21
|
-
end
|
22
|
-
end
|
@@ -1,22 +0,0 @@
|
|
1
|
-
require_dependency "phcscriptcdnpro/application_controller"
|
2
|
-
|
3
|
-
module Phcscriptcdnpro
|
4
|
-
class Api::VersionsController < ApplicationController
|
5
|
-
|
6
|
-
# Only Responds to API Requests
|
7
|
-
respond_to :json
|
8
|
-
|
9
|
-
# Directory Category API
|
10
|
-
def index
|
11
|
-
@scriptcdn_versions = Scriptcdn::Version.all
|
12
|
-
respond_to do |format|
|
13
|
-
format.json { render :json => @scriptcdn_versions }
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
def show
|
18
|
-
@scriptcdn_version = Scriptcdn::Version.find(params[:id])
|
19
|
-
end
|
20
|
-
|
21
|
-
end
|
22
|
-
end
|