myobie-turbine-core 0.3.1 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/turbine-core/post_type.rb +3 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
@@ -378,7 +378,9 @@ class PostType
|
|
378
378
|
end#unless
|
379
379
|
end.join("\n") << "\n"
|
380
380
|
|
381
|
-
|
381
|
+
unless self.class.primary_field.blank? || blank_attr?(self.class.primary_field)
|
382
|
+
result << get_attr(self.class.primary_field, false)
|
383
|
+
end
|
382
384
|
|
383
385
|
result.strip
|
384
386
|
end
|