Files
danbooru/app/controllers/moderator/ip_addrs_controller.rb
2020-03-20 18:03:01 -05:00

16 lines
290 B
Ruby

module Moderator
class IpAddrsController < ApplicationController
respond_to :html, :json
def index
authorize IpAddress
@search = IpAddrSearch.new(params[:search])
@results = @search.execute
respond_with(@results)
end
def search
end
end
end