app/models/effective/cpd_cycle.rb in effective_cpd-0.4.2 vs app/models/effective/cpd_cycle.rb in effective_cpd-0.4.3
- old
+ new
@@ -64,9 +64,13 @@
if (count = cpd_statements.length) > 0
raise("#{count} statement belong to this cycle")
end
end
+ def self.effective_cpd_cpd_cycle?
+ true
+ end
+
def self.latest_cycle
order(id: :desc).first
end
def to_s