phcscriptcdnpro 1.8.6 → 1.8.7
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: 0184f17d429e644e284d1f4d0f0393046b60e300
|
4
|
+
data.tar.gz: 3f4fc2f7ef23fe10ecc4b8bc06a07f20b239bc5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 245e3d4f77e5876ccc44beb45f125af53d3e36557b178990ac394b728f42d62416aee07bbe7b8e4c986b30e8665aeeac6be3c8ffc5e35a3d49fa1c68ccd11575
|
7
|
+
data.tar.gz: 0ba6457607b6e7ced997de193dab49a6902fbb80d472d6d9f231b78fc65d4d528f488e274e875aadfc50da2591b06601177c4d8afb17ac5f95a82d921912c52d
|
@@ -6,17 +6,13 @@ module Phcscriptcdnpro
|
|
6
6
|
# Security & Action Filters
|
7
7
|
before_action :require_user
|
8
8
|
layout '/layouts/phcscriptcdnpro/application.html.erb'
|
9
|
-
before_action :set_scriptcdn_main, only: [:
|
9
|
+
before_action :set_scriptcdn_main, only: [:edit, :update, :destroy]
|
10
10
|
|
11
11
|
# Script CDN Backend Index
|
12
12
|
def index
|
13
13
|
@scriptcdn_mains = Scriptcdn::Main.all
|
14
14
|
end
|
15
15
|
|
16
|
-
# Script CDN Backend Profile
|
17
|
-
def show
|
18
|
-
end
|
19
|
-
|
20
16
|
# New Script Listing
|
21
17
|
def new
|
22
18
|
@scriptcdn_main = Scriptcdn::Main.new
|
@@ -41,15 +41,15 @@
|
|
41
41
|
<thead>
|
42
42
|
<tr>
|
43
43
|
<th>Script Name</th>
|
44
|
-
<th>Script
|
44
|
+
<th>Script Version</th>
|
45
45
|
</tr>
|
46
46
|
</thead>
|
47
47
|
|
48
48
|
<tbody>
|
49
49
|
<% @scriptcdn_mains.each do |scriptcdn_main| %>
|
50
50
|
<tr>
|
51
|
-
<td><%= link_to scriptcdn_main.
|
52
|
-
<td><%= link_to scriptcdn_main.
|
51
|
+
<td><%= link_to scriptcdn_main.information.scripttitle, edit_scriptcdn_main_path(scriptcdn_main) %></td>
|
52
|
+
<td><%= link_to scriptcdn_main.version.version, edit_scriptcdn_main_path(scriptcdn_main) %></td>
|
53
53
|
</tr>
|
54
54
|
<% end %>
|
55
55
|
</tbody>
|