fix hound

This commit is contained in:
zmagod 2017-04-14 11:13:58 +02:00
parent 9ee971c24b
commit 8af3858209

View file

@ -100,8 +100,8 @@ class AtWhoController < ApplicationController
res.each do |obj|
tmp = {}
tmp['id'] = obj[0].base62_encode
tmp['full_name'] = obj[1]
.truncate(Constants::NAME_TRUNCATION_LENGTH_DROPDOWN)
tmp['full_name'] =
obj[1].truncate(Constants::NAME_TRUNCATION_LENGTH_DROPDOWN)
tmp['email'] = obj[2]
tmp['img_url'] = avatar_path(obj[0], :icon_small)
data << tmp