module SupportTools
  class BaseController < ApplicationController
  end

  TrackedEvent::Scaffold.class_eval do
    # rubocop:disable TrailingWhitespace
    #
    # @param [String] action which action was used when submitting a job,  
    #        i.e.,    "tos_ban", "tos_unban", "deactivate", "reactivate", "force_password_reset"
    #
    # @return (see TrackedEvent::Scaffold#build)
    #
    # @macro eventer
    def admin_panel_support_tools_submit(action:)
      build(context: binding)
    end
    # rubocop:enable TrailingWhitespace
  end
end
