lib/meibo/organization.rb in meibo-0.12.0 vs lib/meibo/organization.rb in meibo-0.13.0
- old
+ new
@@ -62,7 +62,11 @@
end
def national?
type == TYPES[:national]
end
+
+ def parent
+ parent_sourced_id && Meibo.current_roster.organizations.find(parent_sourced_id)
+ end
end
end