app/presenters/outline_presenter.rb in woople-theme-0.0.2 vs app/presenters/outline_presenter.rb in woople-theme-0.0.3
- old
+ new
@@ -27,10 +27,10 @@
def videos
outline.videos
end
def assessment_disabled?
- outline.respond_to?(:assessment_enabled?) && !outline.assessment_enabled?
+ outline.respond_to?(:assessment_enabled) && !outline.assessment_enabled
end
def has_assessment?
outline.respond_to?(:assessment) && outline.assessment
end