phcpresspro 4.0.1 → 4.0.2

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: 9f979bc34b365d1e352f1c864feb8c23b29ec6c7
4
- data.tar.gz: 795c46f66ef41cf267c46440b9c88ee7e1a8b6f1
3
+ metadata.gz: 94db6c806335e06347ec9b228ee3f35862c95112
4
+ data.tar.gz: 7accc633b8bf7a75d72c2420a5ea9a2235b01a25
5
5
  SHA512:
6
- metadata.gz: 0c584669573ff635462110dd28123c4b975d393566fba4c17a00efc64261bcddc88eaeeab5e9278d5e873d1e557ae71c21b2a1640fca634632425e360f52eb96
7
- data.tar.gz: 7d5fdc736c9f805ad4627cfe611e56dd7b8c0dbcbe55b8342565ce2d7998ad6537127a27913748f8b8d902b6fd46e8c5316d7ed5fdcd35475e4c886353f5e756
6
+ metadata.gz: ce929f795f3a1997ef04d0d4723a08a2a81a3cdf852242fb6468a01ae6c6483ecba86cbafa20185e7c1468ec263ee72112869d83a7be906a5faefb95f907550d
7
+ data.tar.gz: 275f1838ccd032914e073a50febc6efcd01d6ecb4c43b42c43fae954afa9c8f23e858eecb277b530c0ca606f5d488b1cb6aff7679f485abaf44b3643f4ffab88
@@ -5,7 +5,7 @@ module Phcpresspro
5
5
  mount_uploader :pstimage, Phcpresspro::PstimageUploader
6
6
 
7
7
  # Relationships
8
- has_many :categories, class_name: 'Phcpresspro::Modules::Category'
8
+ has_many :categories
9
9
 
10
10
  end
11
11
  end
@@ -2,7 +2,7 @@ module Phcpresspro
2
2
  class Modules::Category < ApplicationRecord
3
3
 
4
4
  # Relationships
5
- belongs_to :post, class_name: 'Phcpresspro::Articles::Post'
5
+ belongs_to :post
6
6
 
7
7
  end
8
8
  end
data/config/routes.rb CHANGED
@@ -2,12 +2,12 @@ Phcpresspro::Engine.routes.draw do
2
2
 
3
3
  # Article Routes
4
4
  namespace :articles do
5
- resources :posts, class_name: 'Phcpresspro::Articles::Post'
5
+ resources :posts
6
6
  end
7
7
 
8
8
  # Categories
9
9
  namespace :modules do
10
- resources :categories, class_name: 'Phcpresspro::Modules::Category'
10
+ resources :categories
11
11
  end
12
12
 
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module Phcpresspro
2
- VERSION = "4.0.1"
2
+ VERSION = "4.0.2"
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: 4.0.1
4
+ version: 4.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts