lib/vedeu/repositories/repositories/groups.rb in vedeu-0.4.25 vs lib/vedeu/repositories/repositories/groups.rb in vedeu-0.4.26
- old
+ new
@@ -4,13 +4,10 @@
class Groups < Repository
class << self
# @return [Vedeu::Groups]
- def groups
- @groups ||= reset!
- end
- alias_method :repository, :groups
+ alias_method :groups, :repository
# Remove all stored models from the repository.
#
# @return [Vedeu::Groups]
def reset!