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

@@ -1,10 +1,12 @@
module Moderator
class IpAddrsController < ApplicationController
before_action :moderator_only
respond_to :html, :json
def index
@search = IpAddrSearch.new(params[:search])
@results = @search.execute
respond_with(@results)
end
def search