trabajo-afectivo/app/controllers/sessions/collection_base.rb

11 lines
242 B
Ruby
Raw Normal View History

2012-10-18 08:10:12 +00:00
module ExtraCollection
def add(collections)
# all base stuff
collections['Role'] = Role.all
collections['Group'] = Group.all
collections['Organization'] = Organization.all
end
module_function :add
end