collection_ticket.rb 585 B

12345678910111213141516171819
  1. module ExtraCollection
  2. def add(collections)
  3. # all ticket stuff
  4. collections['TicketStateType'] = Ticket::StateType.all
  5. collections['TicketState'] = Ticket::State.all
  6. collections['TicketPriority'] = Ticket::Priority.all
  7. collections['TicketArticleType'] = Ticket::Article::Type.all
  8. collections['TicketArticleSender'] = Ticket::Article::Sender.all
  9. # all signatures
  10. collections['Signature'] = Signature.all
  11. # all email addresses
  12. collections['EmailAddress'] = EmailAddress.all
  13. end
  14. module_function :add
  15. end