diff --git a/app/controllers/admin/tickets_controller.rb b/app/controllers/admin/tickets_controller.rb index 1ec146c..d5eb9ee 100644 --- a/app/controllers/admin/tickets_controller.rb +++ b/app/controllers/admin/tickets_controller.rb @@ -204,12 +204,12 @@ class Admin::TicketsController < OrbitAdminController rescue e end end - url = "/admin/tickets/#{tq.ticket.id.to_s}#response_#{response.id.to_s}" - Fiber.new{ - params[:user_tags].each do |user_id| - WebsocketRails["tag_notifications_for_#{user_id}".to_sym].trigger(:new_notification_recieved, {"ticket_link" => "#{tq.ticket.subject}", "total_ticket_count" => Ticket.get_ticket_unread_count_for_user(user_id), "blink_message" => "#{current_user.name} tagged you!"}) - end - }.resume + # url = "/admin/tickets/#{tq.ticket.id.to_s}#response_#{response.id.to_s}" + # Fiber.new{ + # params[:user_tags].each do |user_id| + # WebsocketRails["tag_notifications_for_#{user_id}".to_sym].trigger(:new_notification_recieved, {"ticket_link" => "#{tq.ticket.subject}", "total_ticket_count" => Ticket.get_ticket_unread_count_for_user(user_id), "blink_message" => "#{current_user.name} tagged you!"}) + # end + # }.resume end render :partial => "response", :object => response else