phcpresspro 4.1.1 → 4.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97da2d424b0585a9081081ebdaf958307b4667cb
|
4
|
+
data.tar.gz: 113d23cf3fa8c1ba0978cd4143e3bd14330d1dc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 540c58caa1579dd022dda6ef56638642da8d04c326d0edd28eb347aebf0ec89608838c44c73ef4079a46c03dae6957d93026cb1d31f64422dda852ff0952bfea
|
7
|
+
data.tar.gz: 84bd87c68a4164fccc0f2a5ac4466031353d0a08916d23578d37380a1c3af697c125cd1ea224c661fe96a6d607d04c661663775f6e282a662f05cde338f870cb
|
@@ -5,8 +5,8 @@ module Phcpresspro
|
|
5
5
|
mount_uploader :pstimage, Phcpresspro::PstimageUploader
|
6
6
|
|
7
7
|
# Relationships
|
8
|
-
has_many :connections, class_name: 'Modules::Connection'
|
9
|
-
has_many :categories, class_name: 'Modules::Category', :through => :connections
|
8
|
+
has_many :connections, class_name: 'Phcpresspro::Modules::Connection'
|
9
|
+
has_many :categories, class_name: 'Phcpresspro::Modules::Category', :through => :connections
|
10
10
|
|
11
11
|
end
|
12
12
|
end
|
@@ -2,8 +2,8 @@ module Phcpresspro
|
|
2
2
|
class Modules::Category < ApplicationRecord
|
3
3
|
|
4
4
|
# Relationships
|
5
|
-
has_many :connections, class_name: 'Modules::Connection'
|
6
|
-
has_many :posts, class_name: 'Modules::Category', :through => :connections
|
5
|
+
has_many :connections, class_name: 'Phcpresspro::Modules::Connection'
|
6
|
+
has_many :posts, class_name: 'Phcpresspro::Modules::Category', :through => :connections
|
7
7
|
|
8
8
|
end
|
9
9
|
end
|
@@ -2,8 +2,8 @@ module Phcpresspro
|
|
2
2
|
class Modules::Connection < ApplicationRecord
|
3
3
|
|
4
4
|
# Relationships
|
5
|
-
belongs_to :post, class_name: 'Articles::Post'
|
6
|
-
belongs_to :category, class_name: 'Modules::Category'
|
5
|
+
belongs_to :post, class_name: 'Phcpresspro::Articles::Post'
|
6
|
+
belongs_to :category, class_name: 'Phcpresspro::Modules::Category'
|
7
7
|
|
8
8
|
end
|
9
9
|
end
|
data/lib/phcpresspro/version.rb
CHANGED