app/presenters/page_header_presenter.rb in woople-theme-0.2.25 vs app/presenters/page_header_presenter.rb in woople-theme-0.2.26
- old
+ new
@@ -10,9 +10,13 @@
def image_class
'page-header-with-image' if has_image?
end
+ def completed_class
+ 'completed' if header.completed
+ end
+
private
def has_image?
header.respond_to?(:image)
end