@ -29,7 +29,7 @@ class ManagementsController < ApplicationController
end
defuser_agents
@user_agents=UserAgent.joins("JOIN users u ON u.login = user_agents.key").where("user_agents.key is not null and is_delete = 0 and u.login is not null").order("created_at desc")
@user_agents=UserAgent.where("user_agents.key is not null and is_delete = 0").order("created_at desc")