phcpresspro 34.0.0 → 34.0.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 458ca879845b95fcf400efed41ae6d63e7a5440892fbccbc49f36746ba1424a5
|
4
|
+
data.tar.gz: fbb09fcd7fc9b1cd7d6fded7d437357a0ca511dbbce5897bb0d713926b70ea24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30090e2a94d48e96baf344216ab9a29dae6f2704aa9bffec44d5563865a3b96ab0e5a0ec4e832b148a1a9ad77a90619e85f30043a1dd280a81cde158c3b1d134
|
7
|
+
data.tar.gz: 2724842142395d47ee25f02b69b26a40ee47491e7175410ab8dac476bd2e861aee2071b147a7ee136eadf1233140329f25a9e9ea92c1a1464ec356d3e4277aee
|
@@ -8,12 +8,12 @@ module Phcpresspro
|
|
8
8
|
|
9
9
|
# Article Category API
|
10
10
|
def index
|
11
|
-
@article_posts = Article::Post.where(
|
11
|
+
@article_posts = Article::Post.where(pststatus: 'published').order('created_at ASC')
|
12
12
|
end
|
13
13
|
|
14
14
|
# Article Show
|
15
15
|
def show
|
16
|
-
@article_post = Article::Post.where(
|
16
|
+
@article_post = Article::Post.where(pststatus: 'published').find(params[:id])
|
17
17
|
end
|
18
18
|
|
19
19
|
end
|
data/lib/phcpresspro/version.rb
CHANGED