phcscriptcdnpro 20.8.1 → 21.0.0
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: c98ed37307424b74f59d3be3d266d558ed211078
|
4
|
+
data.tar.gz: e7206ba87f3bef66316e05f7ee0f882c61bc148e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9da361ae423288c957c49169fb42c3bd9d9a43146f4fa92c6d7a3a0912e9bead83524a0bfee241e744b86a5bcb1784f7a02268d9ef8c4a314d4506a538cf7cbc
|
7
|
+
data.tar.gz: 97c0af56e914a882155ed792b47be1af8759284858f9996619d214c8091cedb19c10d328203b3bd2fc1bffe2af2fc82bf84e623d3cc86ffffa922e40e5bbe7b1
|
@@ -1,12 +1,12 @@
|
|
1
1
|
module Phcscriptcdnpro
|
2
2
|
class ApplicationController < ActionController::Base
|
3
3
|
|
4
|
+
# Load Helpers for PHCPress Widgets
|
5
|
+
before_action :phcpress_recent_posts
|
6
|
+
|
4
7
|
# Security Filters
|
5
8
|
protect_from_forgery with: :exception
|
6
9
|
|
7
|
-
# Load Helpers for PHCPress Widgets
|
8
|
-
before_action :phcpress_recent_posts
|
9
|
-
|
10
10
|
# Load Helpers
|
11
11
|
helper Phctitleseo::Engine.helpers
|
12
12
|
helper Phcnotifi::Engine.helpers
|
@@ -43,10 +43,10 @@ module Phcscriptcdnpro
|
|
43
43
|
|
44
44
|
private
|
45
45
|
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
46
|
+
# PHCPress Widget Helpers
|
47
|
+
def phcpress_recent_posts
|
48
|
+
@recent_posts = Phcpresspro::Article::Post.all
|
49
|
+
end
|
50
50
|
|
51
51
|
end
|
52
52
|
end
|
@@ -24,7 +24,7 @@
|
|
24
24
|
|
25
25
|
<% @script_listings_index.each do |script_listings_index| %>
|
26
26
|
<div class="blog-post-item">
|
27
|
-
<h2><%= link_to script_listings_index.scripttitle, phcscriptcdnpro.frontend_listing_path(script_listings_index) %> <small>v
|
27
|
+
<h2><%= link_to script_listings_index.scripttitle, phcscriptcdnpro.frontend_listing_path(script_listings_index) %> <small>v.</small></h2>
|
28
28
|
<ul class="blog-post-info list-inline">
|
29
29
|
<li>
|
30
30
|
<%= link_to "#" do %>
|
@@ -16,7 +16,7 @@
|
|
16
16
|
<!-- Script Listing -->
|
17
17
|
<div class="col-md-9 col-sm-9">
|
18
18
|
|
19
|
-
<h1 class="blog-post-title"><%= @script_listings_single.scripttitle %> <small
|
19
|
+
<h1 class="blog-post-title"><%= @script_listings_single.scripttitle %> <small></small></h1>
|
20
20
|
<ul class="blog-post-info list-inline">
|
21
21
|
<li>
|
22
22
|
<%= link_to "#" do %>
|