diff --git a/app/controllers/at_who_controller.rb b/app/controllers/at_who_controller.rb index a93541890..960f6198c 100644 --- a/app/controllers/at_who_controller.rb +++ b/app/controllers/at_who_controller.rb @@ -12,7 +12,9 @@ class AtWhoController < ApplicationController # Add avatars, Base62, convert to JSON res.each do |user_obj| - user_obj['full_name'] = user_obj['full_name'].truncate(Constants::NAME_TRUNCATION_LENGTH_DROPDOWN) + user_obj['full_name'] = + user_obj['full_name'] + .truncate(Constants::NAME_TRUNCATION_LENGTH_DROPDOWN) user_obj['id'] = user_obj['id'].base62_encode user_obj['img_url'] = avatar_path(user_obj['id'], :icon_small) end