From c482173394c45c4edfc6e63055aa58ab0e2b4e3c Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Wed, 6 Jan 2021 13:20:31 +0000 Subject: [PATCH] Delete dead code This AMS injection method is no longer referenced anywhere in the codebase --- app/helpers/admin/injection_helper.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/helpers/admin/injection_helper.rb b/app/helpers/admin/injection_helper.rb index ccc5b7a184..c7cdd49c27 100644 --- a/app/helpers/admin/injection_helper.rb +++ b/app/helpers/admin/injection_helper.rb @@ -130,10 +130,6 @@ module Admin json: @hub_permissions.to_json } end - def admin_inject_products - admin_inject_json_ams_array "ofn.admin", "products", @products, Api::Admin::ProductSerializer - end - def admin_inject_tax_categories(opts = { module: 'ofn.admin' }) admin_inject_json_ams_array opts[:module], "tax_categories",