phcpress 6.1.1 → 6.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/controllers/phcpress/frontend/articles_controller.rb +16 -0
- data/app/models/phcpress/frontend.rb +7 -0
- data/app/models/phcpress/frontend/article.rb +4 -0
- data/app/views/phcpress/frontend/articles/index.html.erb +4 -0
- data/app/views/phcpress/frontend/articles/show.html.erb +1 -0
- data/config/routes.rb +5 -0
- data/lib/phcpress/version.rb +1 -1
- metadata +9 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d9165ec7e1acb92083525f8aa0660b44037ebfa
|
4
|
+
data.tar.gz: 69394b55f4f725cb9f1e7d2c90c0d8da3c924490
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3015196c6dd61b9a3a19a23fbb40b582efb3377fd32edb71a73d1d0fbe82e905281a57534d460274a355eed25a0755a4f18ecb17f43573c8726c18ee4ca26522
|
7
|
+
data.tar.gz: 6af7520935ffd553614da2227535b0536fd5f3db821000ee6b804a50358d88d5a58cb1385362b57aba469b62dfa766d9f7cc5d259e09d0310389dd6925a777f0
|
data/README.md
CHANGED
@@ -0,0 +1,16 @@
|
|
1
|
+
require_dependency "phcpress/application_controller"
|
2
|
+
|
3
|
+
module Phcpress
|
4
|
+
class Frontend::ArticlesController < ApplicationController
|
5
|
+
|
6
|
+
# Article Index
|
7
|
+
def index
|
8
|
+
@articles_posts = Articles::Post.all
|
9
|
+
end
|
10
|
+
|
11
|
+
# Article Show
|
12
|
+
def show
|
13
|
+
end
|
14
|
+
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= link_to 'Back', frontend_articles_path %>
|
data/config/routes.rb
CHANGED
data/lib/phcpress/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcpress
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.1.
|
4
|
+
version: 6.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -542,7 +542,7 @@ dependencies:
|
|
542
542
|
- - ">="
|
543
543
|
- !ruby/object:Gem::Version
|
544
544
|
version: 3.0.1
|
545
|
-
description: PHCPress(6) is
|
545
|
+
description: PHCPress(6) is an opensource ruby on rails CMS engine.
|
546
546
|
email:
|
547
547
|
- developers@phcnetworks.net
|
548
548
|
executables: []
|
@@ -559,6 +559,7 @@ files:
|
|
559
559
|
- app/assets/stylesheets/phcpress/application.scss
|
560
560
|
- app/controllers/phcpress/application_controller.rb
|
561
561
|
- app/controllers/phcpress/articles/posts_controller.rb
|
562
|
+
- app/controllers/phcpress/frontend/articles_controller.rb
|
562
563
|
- app/controllers/phcpress/modules/categories_controller.rb
|
563
564
|
- app/controllers/phcpress/modules/connections_controller.rb
|
564
565
|
- app/helpers/phcpress/application_helper.rb
|
@@ -567,6 +568,8 @@ files:
|
|
567
568
|
- app/models/phcpress/application_record.rb
|
568
569
|
- app/models/phcpress/articles.rb
|
569
570
|
- app/models/phcpress/articles/post.rb
|
571
|
+
- app/models/phcpress/frontend.rb
|
572
|
+
- app/models/phcpress/frontend/article.rb
|
570
573
|
- app/models/phcpress/modules.rb
|
571
574
|
- app/models/phcpress/modules/category.rb
|
572
575
|
- app/models/phcpress/modules/connection.rb
|
@@ -581,6 +584,8 @@ files:
|
|
581
584
|
- app/views/phcpress/articles/posts/index.html.erb
|
582
585
|
- app/views/phcpress/articles/posts/new.html.erb
|
583
586
|
- app/views/phcpress/articles/posts/show.html.erb
|
587
|
+
- app/views/phcpress/frontend/articles/index.html.erb
|
588
|
+
- app/views/phcpress/frontend/articles/show.html.erb
|
584
589
|
- app/views/phcpress/modules/categories/_form.html.erb
|
585
590
|
- app/views/phcpress/modules/categories/edit.html.erb
|
586
591
|
- app/views/phcpress/modules/categories/index.html.erb
|
@@ -622,5 +627,5 @@ rubyforge_project:
|
|
622
627
|
rubygems_version: 2.5.1
|
623
628
|
signing_key:
|
624
629
|
specification_version: 4
|
625
|
-
summary:
|
630
|
+
summary: CMS Rails Engine
|
626
631
|
test_files: []
|