From 86d5aa73e92c85dfd28356f2e7ce0103094c1536 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sun, 1 Sep 2019 16:17:54 -0500 Subject: fix breaking typo --- app/controllers/admin/domain_blocks_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/controllers/admin') diff --git a/app/controllers/admin/domain_blocks_controller.rb b/app/controllers/admin/domain_blocks_controller.rb index 593b91455..63c2f3eee 100644 --- a/app/controllers/admin/domain_blocks_controller.rb +++ b/app/controllers/admin/domain_blocks_controller.rb @@ -14,7 +14,7 @@ module Admin resource_params[:domain].strip! if resource_params[:domain].present? resource_params[:reason].strip! if resource_params[:reason].present? - resource_pararms[:processing] = true + resource_params[:processing] = true @domain_block = DomainBlock.new(resource_params) existing_domain_block = resource_params[:domain].present? ? DomainBlock.find_by(domain: resource_params[:domain].strip) : nil @@ -46,7 +46,7 @@ module Admin def update return destroy unless resource_params[:undo].to_i.zero? resource_params[:reason].strip! if resource_params[:reason].present? - resource_pararms[:processing] = true + resource_params[:processing] = true authorize @domain_block, :update? @domain_block.update(resource_params.except(:domain, :undo)) if @domain_block.save -- cgit