phcpresspro 5.8.0 → 5.8.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: b1c5dd0e1e009b8cba6c609e85eb9e0a9c556fe7
4
- data.tar.gz: a2ea739d57e6625e478fd2a8ba9403f0bbd2bb8a
3
+ metadata.gz: 9838984a792b260572281ecb97e01e0662215ff9
4
+ data.tar.gz: 487b6a3fc0848d0f9a6852e7ade9734db0f64bce
5
5
  SHA512:
6
- metadata.gz: 4c26bb448695c0318b9aee324a2da7ea2ccb174eb9b4352621fa7f223358f3ee44c6d311b0ad21da11f6ece001f29c5e042f52d5be70ee1835259278b77120ac
7
- data.tar.gz: a3be5e0fa91638d75b133fed4340953c98c0ed7662f574368f33f6dd5755134a2182d4b82f2de465e96110d0ea64555477db95ad9e9ae37ba61c018890d13432
6
+ metadata.gz: c4f10cd0398ad9c3c8f47bbe632a8f4bc711b281c542e729250ae1fbf39787ca4e328c454dbc7615259837c31d03ceaf7f0d196242b4ceedea1728cf7fe85a0c
7
+ data.tar.gz: b22c7bdc698a15033577a0cb2ae9830a91d97bb6cd9bbe41ebab1af9eb8456a097699a2df26cbb9cdf146c0d4053ec26495da491bd8f9aee899d83546f36d9e9
@@ -8,12 +8,12 @@ module Phcpresspro
8
8
 
9
9
  # Article Index
10
10
  def index
11
- @frontend_articles = Articles::Post.all
11
+ @articles_index = Articles::Post.all
12
12
  end
13
13
 
14
14
  # Single Article Post
15
15
  def show
16
- @frontend_article = Articles::Post.find(params[:id])
16
+ @articles_single = Articles::Post.find(params[:id])
17
17
  end
18
18
 
19
19
  end
@@ -24,7 +24,7 @@
24
24
  <!-- Blog List -->
25
25
  <div class="col-md-9 col-sm-9">
26
26
 
27
- <% @frontend_articles.each do |frontend_article| %>
27
+ <% @articles_index.each do |frontend_article| %>
28
28
  <div class="blog-post-item">
29
29
  <% if frontend_article.pstimage? %>
30
30
  <figure class="margin-bottom-20">
@@ -22,12 +22,12 @@
22
22
 
23
23
  <!-- Blog List -->
24
24
  <div class="col-md-9 col-sm-9">
25
- <h1 class="blog-post-title"><%= @article_index.psttitle %></h1>
25
+ <h1 class="blog-post-title"><%= @articles_single.psttitle %></h1>
26
26
  <ul class="blog-post-info list-inline">
27
27
  <li>
28
28
  <%= link_to "#" do %>
29
29
  <i class="fa fa-clock-o"></i>
30
- <span class="font-lato"><%= @article_index.created_at %></span>
30
+ <span class="font-lato"><%= @articles_single.created_at %></span>
31
31
  <% end %>
32
32
  </li>
33
33
  <li>
@@ -48,16 +48,16 @@
48
48
  <li>
49
49
  <%= link_to "#" do %>
50
50
  <i class="fa fa-user"></i>
51
- <span class="font-lato"><%= @article_index.user_name %></span>
51
+ <span class="font-lato"><%= @articles_single.user_name %></span>
52
52
  <% end %>
53
53
  </li>
54
54
  </ul>
55
- <% if @article_index.pstimage? %>
55
+ <% if @articles_single.pstimage? %>
56
56
  <figure class="margin-bottom-20">
57
- <%= image_tag @article_index.pstimage_url, class: "img-responsive" %>
57
+ <%= image_tag @articles_single.pstimage_url, class: "img-responsive" %>
58
58
  </figure>
59
59
  <% end %>
60
- <p class="dropcap"><%= @article_index.psttext %></p>
60
+ <p class="dropcap"><%= @articles_single.psttext %></p>
61
61
  </div>
62
62
  <!-- Blog List -->
63
63
 
@@ -1,3 +1,3 @@
1
1
  module Phcpresspro
2
- VERSION = "5.8.0"
2
+ VERSION = "5.8.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcpresspro
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.8.0
4
+ version: 5.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts