phcpresspro 14.1.0 → 15.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/phcpresspro/application_controller.rb +1 -1
- data/app/controllers/phcpresspro/frontend/{articles_controller.rb → article_controller.rb} +3 -3
- data/app/models/phcpresspro/{articles.rb → article.rb} +1 -1
- data/app/views/phcpresspro/frontend/{articles → article}/index.html.erb +0 -0
- data/app/views/phcpresspro/frontend/{articles → article}/show.html.erb +0 -0
- data/lib/phcpresspro/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d20b68f9ac1ce1ceda38697e59c6967c2620d9d
|
4
|
+
data.tar.gz: 05ed463ea924416e366a35b406fa246d3f763e94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdc009f2480a1ecd15e88f165c87e6d60b22b3a64f4516e3c4ec2205235efc2bbc00652012878c5d9ad2315b8e80738fd9182754441f3d8b20bc5c78909b2d16
|
7
|
+
data.tar.gz: 104f337e754a29ef41ec1b2adb2259fa61cd1cc26466244c1b3f37c5d6c0017f65269d764065d38a88a15ca86a38fd1c9b049175150e4c6dc0d843d2b9092868
|
@@ -1,19 +1,19 @@
|
|
1
1
|
require_dependency "phcpresspro/application_controller"
|
2
2
|
|
3
3
|
module Phcpresspro
|
4
|
-
class Frontend::
|
4
|
+
class Frontend::ArticleController < ApplicationController
|
5
5
|
|
6
6
|
# Security & Filters
|
7
7
|
layout '/layouts/phcpresspro/frontend.html.erb'
|
8
8
|
|
9
9
|
# Article Index
|
10
10
|
def index
|
11
|
-
@articles_index =
|
11
|
+
@articles_index = Article::Post.where(pststatus: "published")
|
12
12
|
end
|
13
13
|
|
14
14
|
# Single Article Post
|
15
15
|
def show
|
16
|
-
@articles_single =
|
16
|
+
@articles_single = Article::Post.where(pststatus: "published").friendly.find(params[:id])
|
17
17
|
end
|
18
18
|
|
19
19
|
end
|
File without changes
|
File without changes
|
data/lib/phcpresspro/version.rb
CHANGED
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:
|
4
|
+
version: 15.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -525,7 +525,7 @@ dependencies:
|
|
525
525
|
version: '2.14'
|
526
526
|
- - ">="
|
527
527
|
- !ruby/object:Gem::Version
|
528
|
-
version: 2.14.
|
528
|
+
version: 2.14.2
|
529
529
|
type: :development
|
530
530
|
prerelease: false
|
531
531
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -535,7 +535,7 @@ dependencies:
|
|
535
535
|
version: '2.14'
|
536
536
|
- - ">="
|
537
537
|
- !ruby/object:Gem::Version
|
538
|
-
version: 2.14.
|
538
|
+
version: 2.14.2
|
539
539
|
- !ruby/object:Gem::Dependency
|
540
540
|
name: nokogiri
|
541
541
|
requirement: !ruby/object:Gem::Requirement
|
@@ -696,7 +696,7 @@ files:
|
|
696
696
|
- app/controllers/phcpresspro/api/v1/posts_controller.rb
|
697
697
|
- app/controllers/phcpresspro/application_controller.rb
|
698
698
|
- app/controllers/phcpresspro/article/posts_controller.rb
|
699
|
-
- app/controllers/phcpresspro/frontend/
|
699
|
+
- app/controllers/phcpresspro/frontend/article_controller.rb
|
700
700
|
- app/controllers/phcpresspro/modules/categories_controller.rb
|
701
701
|
- app/controllers/phcpresspro/modules/connections_controller.rb
|
702
702
|
- app/helpers/phcpresspro/application_helper.rb
|
@@ -705,8 +705,8 @@ files:
|
|
705
705
|
- app/models/phcpresspro/api/v1/category.rb
|
706
706
|
- app/models/phcpresspro/api/v1/post.rb
|
707
707
|
- app/models/phcpresspro/application_record.rb
|
708
|
+
- app/models/phcpresspro/article.rb
|
708
709
|
- app/models/phcpresspro/article/post.rb
|
709
|
-
- app/models/phcpresspro/articles.rb
|
710
710
|
- app/models/phcpresspro/category_versions.rb
|
711
711
|
- app/models/phcpresspro/connection_versions.rb
|
712
712
|
- app/models/phcpresspro/frontend.rb
|
@@ -729,8 +729,8 @@ files:
|
|
729
729
|
- app/views/phcpresspro/articles/posts/index.html.erb
|
730
730
|
- app/views/phcpresspro/articles/posts/new.html.erb
|
731
731
|
- app/views/phcpresspro/articles/posts/show.html.erb
|
732
|
-
- app/views/phcpresspro/frontend/
|
733
|
-
- app/views/phcpresspro/frontend/
|
732
|
+
- app/views/phcpresspro/frontend/article/index.html.erb
|
733
|
+
- app/views/phcpresspro/frontend/article/show.html.erb
|
734
734
|
- app/views/phcpresspro/modules/categories/_form.html.erb
|
735
735
|
- app/views/phcpresspro/modules/categories/edit.html.erb
|
736
736
|
- app/views/phcpresspro/modules/categories/index.html.erb
|