This commit is contained in:
Eugen Rochko 2022-08-16 01:00:23 +02:00
parent 113dd90aa3
commit 7f4db65217
7 changed files with 77 additions and 0 deletions

View file

@ -25,6 +25,7 @@ ActiveSupport::Inflector.inflections(:en) do |inflect|
inflect.acronym 'REST'
inflect.acronym 'URL'
inflect.acronym 'ASCII'
inflect.acronym 'IPs'
inflect.singular 'data', 'data'
end

View file

@ -189,6 +189,7 @@ Rails.application.routes.draw do
namespace :admin do
get '/dashboard', to: 'dashboard#index'
get '/abuse_metrics', to: 'abuse_metrics#index'
resources :domain_allows, only: [:new, :create, :show, :destroy]
resources :domain_blocks, only: [:new, :create, :destroy, :update, :edit]