phcpress 3.7.8 → 3.7.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: c7b4b18fae3168b89e8c9d1c4da0f4e80172062b
4
- data.tar.gz: e6c0d21fd5c35eec03c7257b5548693528774eac
3
+ metadata.gz: 3e0db04bff89a7a3a672e90d986dde8c5132f95e
4
+ data.tar.gz: 8ebaae8c87cba5f3ec6dadd277c20bf975e804b1
5
5
  SHA512:
6
- metadata.gz: 6e3842e0212ff38891ef143b3dd7babc9bb048c9e241207d8ea7e46fd7b5c94123838421f3e5e67082520c7a0eed363824b84c715bf9e54516fe394c015c70af
7
- data.tar.gz: b6e10b38c52e45af634a917c82d68804a7ceb9dd9ec949ad94f5fe47185b9163fc4a5380bb8c202abd2fd09626e83c7d80efb982ed78293a33b9c0055b2a3e43
6
+ metadata.gz: 0e6adbd0135bddc1f77ae30a60dfe8722007e3f519d54180c33aea37ab3e4616ec5f4347917305ac3f5c34a3057c939fa69c5a6b643cfe7b9dcaf8d47bb99312
7
+ data.tar.gz: 664265975ecea6ce862bc00fc6cce165e0ef3ed28d8a24efacd19aae934b4306a48c3a111a4108b710909071e0e89d095e8d68ee40080b34eb67e1348840b21a
data/config/routes.rb CHANGED
@@ -2,15 +2,15 @@ Phcpress::Engine.routes.draw do
2
2
 
3
3
  # Blog Routes
4
4
  namespace :blog do
5
- resources :posts
5
+ resources :posts, class_name: 'Phcpress::News::Post'
6
6
  end
7
7
 
8
8
  # News Routes
9
9
  namespace :news do
10
- resources :posts
10
+ resources :posts, class_name: 'Phcpress::Blog::Post'
11
11
  end
12
12
 
13
13
  # Categories
14
- resources :categories
14
+ resources :categories, class_name: 'Phcpress::Category'
15
15
 
16
16
  end
@@ -1,7 +1,7 @@
1
1
  class AddPhcpressCategoryToPhcpressBlogPosts < ActiveRecord::Migration
2
2
 
3
3
  def change
4
- add_column :pstcategory_id, :phcpress_blog_posts, :string
4
+ add_column :phcpress_blog_posts, :pstcategory_id, :string
5
5
  end
6
6
 
7
7
  end
@@ -1,7 +1,7 @@
1
1
  class AddPhcpressCategoryToPhcpressNewsPost < ActiveRecord::Migration
2
2
 
3
3
  def change
4
- add_column :pstcategory_id, :phcpress_news_posts, :string
4
+ add_column :phcpress_news_posts, :pstcategory_id, :string
5
5
  end
6
6
 
7
7
  end
@@ -1,3 +1,3 @@
1
1
  module Phcpress
2
- VERSION = "3.7.8"
2
+ VERSION = "3.7.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcpress
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.8
4
+ version: 3.7.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts