Class: ActiveHashcash::AddressesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/active_hashcash/addresses_controller.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#indexObject



3
4
5
# File 'app/controllers/active_hashcash/addresses_controller.rb', line 3

def index
  @addresses = Stamp.filter_by(params).group(:ip_address).order(count_all: :desc).limit(1000).count
end