app/models/concerns/publishable.rb in udongo-3.0.0 vs app/models/concerns/publishable.rb in udongo-4.0.0
- old
+ new
@@ -16,7 +16,11 @@
end
def published?
published_at && published_at.past?
end
+
+ def unpublished?
+ !published?
+ end
end
end