Files
danbooru/app/controllers/moderator/ip_addrs_controller.rb
evazion a7dc05ce63 Enable frozen string literals.
Make all string literals immutable by default.
2021-12-14 21:33:27 -06:00

18 lines
321 B
Ruby

# frozen_string_literal: true
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