Sha256: 36337f2d5a16eb60ebc635f77e9c6d51049e48c550e1f0916853d3176bd00368
Contents?: true
Size: 489 Bytes
Versions: 1
Compression:
Stored size: 489 Bytes
Contents
%tr %td= key - ip = Rack::Attack.ip_from_key(key) %td = ip (#{link_to 'Look up', "http://ip-lookup.net/?ip=#{ip}", target:'_blank'}) - if is_redis? %td - interval = Rack::Attack.cache.store.ttl("#{Rack::Attack.cache.prefix}:#{key}") - if interval =# distance_of_time_in_words(interval) in #{ActiveSupport::Duration.build(interval)&.human_to_s} %td= link_to 'Delete', rack_attack_admin.banned_ip_path(key), method: :delete, class: 'btn'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rack_attack_admin-0.1.0 | app/views/rack_attack_admin/banned_ips/_banned_ip.html.haml |