pulitzer 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/pulitzer/post.rb +1 -1
- data/lib/pulitzer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54fde0b1fe55b1f9426f26692e1828d9bb669cb5
|
4
|
+
data.tar.gz: 088b9d44029af199e3abce911bc1d646abceff8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c86c2f9f359599bcff048e69d58dbeabe5b41274251fd4f49e68a8c50e34a3150749bed757432e049e57be941c6e4e0698666bf220778c4a2127df23b3f075c8
|
7
|
+
data.tar.gz: 4645cf97c7a43028e762d85f6e1b3f57502630628320a6e9336858108f098a6ebda5555079be46925ff5cb59fffaf7b2e51e2a03644040752df4b77dcc87676f
|
data/app/models/pulitzer/post.rb
CHANGED
@@ -5,7 +5,7 @@ module Pulitzer
|
|
5
5
|
has_many :versions
|
6
6
|
belongs_to :post_type
|
7
7
|
delegate :post_type_content_element_types, :allow_free_form?, to: :post_type
|
8
|
-
delegate :content_elements, :post_tags, :has_label_type, :has_label, to: :active_version, allow_nil: true
|
8
|
+
delegate :content_elements, :post_tags, :has_label_type, :has_label, :post_tags_for, to: :active_version, allow_nil: true
|
9
9
|
friendly_id :title, use: [:slugged, :finders]
|
10
10
|
after_create :create_preview_version
|
11
11
|
|
data/lib/pulitzer/version.rb
CHANGED