diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-09-01 16:17:54 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-09-01 16:17:54 -0500 |
commit | 86d5aa73e92c85dfd28356f2e7ce0103094c1536 (patch) | |
tree | 08866eff35dadd41a151ecc0d17c2486dfc95d7d | |
parent | bff22832b742fb37d647bfd95f87756a4cced064 (diff) |
fix breaking typo
-rw-r--r-- | app/controllers/admin/domain_blocks_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |