This commit is contained in:
r888888888
2018-05-26 13:13:07 -07:00
parent 97887a3241
commit 4739c45da0
5 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
<% if params[:search][:user_id].present? || params[:search][:user_name].present? %>
<%= render "ip_listing.json" %>
<% else %>
<%= render "user_listing.json" %>
<% end %>