lib/models/events/event.rb in spektrix-0.0.1 vs lib/models/events/event.rb in spektrix-0.0.2.1
- old
+ new
@@ -9,8 +9,12 @@
def instances
Instance.where(event_id: self.id).to_a
end
+ def title
+ name
+ end
+
end
end
end
\ No newline at end of file