phcpresspro 6.6.8 → 6.6.9

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: a67e438b0e2fb819a965bd17c3fec14f5f542837
4
- data.tar.gz: 6c8c9160d85ec22309eac2fc0da97d84d4919f87
3
+ metadata.gz: 1d8a158d6137b81fb98be02a7ad461233b2ad355
4
+ data.tar.gz: 57a4a4b50791cd4f4ae5c8319a0b73a9903826e2
5
5
  SHA512:
6
- metadata.gz: 43eb7865ac6d78142fc874e1195801d6085bd43dd6c726e4c26f284eac5d3e64077ea0723ac880957cf2c170417ba5a536e26e914ab2a7f23b1b9f4a596ae07c
7
- data.tar.gz: 5877b72f0f2fb543df1812d014881976a814f1cf30bb6d66d5e44f040845290e9d47fbe62a08ea212ac8c4398fc44f602d3acecf3b1062f57e46fc104d83e50a
6
+ metadata.gz: 5fad566b3eb27b8121f61bc83c1b2350c1800fdea80e709344b5c56ba877428b8cd4bc140cf7c4fd768b7dfbf919939de8490b7f35961b805f95112e8fcbfd2f
7
+ data.tar.gz: 50665847e87d72f5989732a69184e2c9ec3ecadbcd33697c78829042277b9d4ec7227e002f0f558f9305b5964496cdf7194179c23cf6776ae86fabe26a045005
@@ -8,7 +8,7 @@ module Phcpresspro
8
8
 
9
9
  # Article Index
10
10
  def index
11
- @articles_index = Articles::Post.all
11
+ @articles_index = Articles::Post.where(pststatus: published)
12
12
  end
13
13
 
14
14
  # Single Article Post
@@ -12,7 +12,7 @@
12
12
  <div class="ibox-content">
13
13
  <div class="form-group">
14
14
  <%= f.label :pststatus, "Post Status" %>
15
- <%= f.select( :pststatus, [['Draft','draft'],['Publish','publish'],['Review','review']], {}, {class: "form-control form-control-sm"}) %>
15
+ <%= f.select( :pststatus, [['Draft','draft'],['Published','published'],['Review','review']], {}, {class: "form-control form-control-sm"}) %>
16
16
  </div>
17
17
  <div class="actions">
18
18
  <%= f.submit class: "btn btn-primary btn-sm" %>
@@ -1,3 +1,3 @@
1
1
  module Phcpresspro
2
- VERSION = "6.6.8"
2
+ VERSION = "6.6.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcpresspro
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.6.8
4
+ version: 6.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-23 00:00:00.000000000 Z
11
+ date: 2017-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails