phcpresspro 18.3.0 → 18.4.0

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: 5dd21fbde758f28fd10047173507b228c61d91c8
4
- data.tar.gz: db4e477feb6d8513c973943c7e6e07b1ecaabb8c
3
+ metadata.gz: bc7e4a1b469a35fff85b3eab40250736b3bbc209
4
+ data.tar.gz: 29206cdbd0d0c8490e75fa9736f0657983b710da
5
5
  SHA512:
6
- metadata.gz: 2b880ab462d2883456bf13799aa4e4a4e85e2166a20ae95a5ec91148b0c50b6aa44d3ee04d3f5118ac45afb63ab4addc5a1342555618328b5ecd8154578247e2
7
- data.tar.gz: 2eb1676e325526f32fe1134b3d980a36565b199941411e3729533387a86be69953528ed1507ac55ea414cc7eb463cf60884103fcbd68e47298db5e1f66caae7f
6
+ metadata.gz: c37b98857e3736f4f606b833012915855fdec406f509332ef5159ea368a8dfc5a01e2fe54cabd1999384c4fee7d5dc66241ffac21eca1fa8f57ec4856c6c1284
7
+ data.tar.gz: 7bfdaeda555b1e7ed7c96334c4fcce830f442092bbaf481f26010a0a2b08600c71bfed122264605709afa4c946df5adcb0a06680488b9506e471ab5f07e4f05a
@@ -11,5 +11,10 @@ module Phcpresspro
11
11
  @article_posts = Article::Post.order('psttitle ASC')
12
12
  end
13
13
 
14
+ # Article Show
15
+ def show
16
+ @article_post = Article::Post.find(params[:id])
17
+ end
18
+
14
19
  end
15
20
  end
@@ -1,7 +1,7 @@
1
1
  module Phcpresspro
2
2
  module Article
3
3
  def self.table_name_prefix
4
- 'phcpresspro_articles_'
4
+ 'phcpresspro_article_'
5
5
  end
6
6
  end
7
7
  end
@@ -1,2 +1,2 @@
1
- object @articles_posts
1
+ object @article_posts
2
2
  attributes :id, :psttitle, :psttext, :pststatus, :pstimage
@@ -0,0 +1,2 @@
1
+ object @article_post
2
+ attributes :id, :psttitle, :psttext, :pststatus, :pstimage
@@ -1,6 +1,6 @@
1
- class CreatePhcpressproArticlesPosts < ActiveRecord::Migration[5.1]
1
+ class CreatePhcpressproArticlePosts < ActiveRecord::Migration[5.1]
2
2
  def change
3
- create_table :phcpresspro_articles_posts do |t|
3
+ create_table :phcpresspro_article_posts do |t|
4
4
 
5
5
  t.string :psttitle
6
6
  t.text :psttext
@@ -1,3 +1,3 @@
1
1
  module Phcpresspro
2
- VERSION = "18.3.0"
2
+ VERSION = "18.4.0"
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: 18.3.0
4
+ version: 18.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
@@ -737,6 +737,7 @@ files:
737
737
  - app/views/layouts/phcpresspro/frontend.html.erb
738
738
  - app/views/phcpresspro/api/v1/categories/index.json.rabl
739
739
  - app/views/phcpresspro/api/v1/posts/index.json.rabl
740
+ - app/views/phcpresspro/api/v1/posts/show.json.rabl
740
741
  - app/views/phcpresspro/article/posts/_form.html.erb
741
742
  - app/views/phcpresspro/article/posts/edit.html.erb
742
743
  - app/views/phcpresspro/article/posts/index.html.erb
@@ -760,7 +761,7 @@ files:
760
761
  - config/routes.rb
761
762
  - config/tinymce.yml
762
763
  - db/migrate/20160716182936_create_phcpresspro_modules_categories.rb
763
- - db/migrate/20160718204718_create_phcpresspro_articles_posts.rb
764
+ - db/migrate/20160718204718_create_phcpresspro_article_posts.rb
764
765
  - db/migrate/20160719221205_create_phcpresspro_modules_connections.rb
765
766
  - db/migrate/20170509002355_create_phcpresspro_friendly_id_slugs.rb
766
767
  - db/migrate/20170517064030_create_phcpresspro_post_versions.rb