From 622419ac751c1eb4c7904afc9c840977c980b206 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 17 Aug 2013 23:13:34 +0200 Subject: [PATCH] Fixed pod. --- app/models/ticket.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/models/ticket.rb b/app/models/ticket.rb index e8631a3ac..84c01b645 100644 --- a/app/models/ticket.rb +++ b/app/models/ticket.rb @@ -31,16 +31,14 @@ class Ticket < ApplicationModel =begin -merge tickets +list of agents in group of ticket ticket = Ticket.find(123) - result = ticket.merge_to( - :ticket_id => 123, - ) + result = ticket.agent_of_group returns - result = true|false + result = [user1, user2, ...] =end