引流报500

dev_aliyun
daiao 5 years ago
parent 5ba6e70e1e
commit ad61dc8cee

@ -29,7 +29,7 @@ class ManagementsController < ApplicationController
end end
def user_agents def user_agents
@user_agents = UserAgent.where("user_agents.key is not order by action_status, register_status") @user_agents = UserAgent.where("user_agents.key is not null order by action_status, register_status")
@agents_count = @user_agents.count @agents_count = @user_agents.count
limit = 20 limit = 20
@agents_pages = Paginator.new @agents_count, limit, params['page'] || 1 @agents_pages = Paginator.new @agents_count, limit, params['page'] || 1

Loading…
Cancel
Save